Use this script to automatically find where a SPEC fail was introduced. You can add it to .bash_profile
.
Syntax: run_git_bisect <bad SHA> <good SHA> <failing test file:number>
function run_git_bisect() {
[ "$#" -eq 3 ] || die "You must provide the bad SHA, good SHA and the failing test filename[:number]"
git bisect reset