Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions pages/common/git-bisect.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@

`git bisect skip`

- Start a bisect session considering only commits that modify a specific file or directory:

`git bisect start {{bad_commit}} {{good_commit}} -- {{path/to/file_or_directory}}`

- Automate the bisect process using a test script that `exit`s with 0 for "good" and non-zero for "bad":

`git bisect run {{path/to/test_script}} {{[script arguments...]}}`

- Display a log of what has been done so far:

`git bisect log`

- Show remaining candidate commits to be checked:

`git bisect visualize`