File tree Expand file tree Collapse file tree 2 files changed +249
-133
lines changed Expand file tree Collapse file tree 2 files changed +249
-133
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
105
105
* [ List only the root and merge commits.] ( #list-only-the-root-and-merge-commits )
106
106
* [ Merge previous two commits into one.] ( #merge-previous-two-commits-into-one )
107
107
* [ List all branch is WIP] ( #list-all-branch-is-wip )
108
+ * [ Find guilty with binary search] ( #find-guilty )
108
109
109
110
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
110
111
<!-- @doxie.inject end toc -->
@@ -703,5 +704,16 @@ git rebase --interactive HEAD~2
703
704
git checkout master && git branch --no-merged
704
705
```
705
706
707
+ ## Find guilty with binary search
708
+
709
+ ``` sh
710
+ git bisect start # Search start
711
+ git bisect bad # Set point to bad commit
712
+ git bisect good v2.6.13-rc2 # Set point to good commit|tag
713
+ git bisect bad # Say current state is bad
714
+ git bisect good # Say current state is good
715
+ git bisect reset # Finish search
716
+ ```
717
+
706
718
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
707
719
<!-- @doxie.inject end -->
You can’t perform that action at this time.
0 commit comments