Created
August 2, 2012 22:00
-
-
Save pmarreck/3241059 to your computer and use it in GitHub Desktop.
A far simpler interface to git bisect, as a bash function
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
# automated git bisecting. because I hate remembering how to use this. | |
# ex. usage: git_wtf_happened <ruby testfile> <how many commits back, default 10> | |
function git_wtf_happened { | |
git bisect start HEAD HEAD~${2:-10}; | |
git bisect run ruby $1; | |
git bisect view; | |
git bisect reset; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment