Skip to content

Commit 306e633

Browse files
waldyrioussebastiaanspeckacuteenvyManagor
authored
git-bisect: expand page (#19154)
Co-authored-by: Sebastiaan Speck <[email protected]> Co-authored-by: Lena Pastwa <[email protected]> Co-authored-by: Managor <[email protected]>
1 parent ef3782d commit 306e633

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pages/common/git-bisect.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@
2020

2121
`git bisect skip`
2222

23+
- Start a bisect session considering only commits that modify a specific file or directory:
24+
25+
`git bisect start {{bad_commit}} {{good_commit}} -- {{path/to/file_or_directory}}`
26+
27+
- Automate the bisect process using a test script that `exit`s with 0 for "good" and non-zero for "bad" (script arguments are optional):
28+
29+
`git bisect run {{path/to/test_script}} {{script_arguments}}`
30+
2331
- Display a log of what has been done so far:
2432

2533
`git bisect log`
34+
35+
- Show remaining candidate commits to be checked:
36+
37+
`git bisect visualize`

0 commit comments

Comments
 (0)