-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bisect: add --force flag to force checkout
Adds a `--force`/`-f` flag to `git bisect good/bad` and `git bisect run` to force a checkout. Currently, if the repository state adds any local changes the user must manually reset the repository state before moving to the next bisection step. This can happen with package lock files or log output data, for example. With this change, a developer can run `git bisect run --force` to automatically reset the repository state after each evaluation. The flag is also supported as `git bisect (good|bad) --force` as well. Signed-off-by: Kevin Wang <[email protected]>
- Loading branch information
Showing
5 changed files
with
167 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters