Created
July 26, 2012 11:27
-
-
Save jcoglan/3181564 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$ git bisect start | |
$ git checkout recent_known_buggy_commit | |
$ git bisect bad | |
$ git checkout old_known_good_commit | |
$ git bisect good | |
# run tests, check things, etc. | |
$ git bisect good/bad | |
Repeat last two steps until git finds the first bad commit. Then: | |
$ git bisect reset |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment