Skip to content

Instantly share code, notes, and snippets.

@micahyoung
Created January 14, 2014 05:26
Show Gist options
  • Save micahyoung/8413532 to your computer and use it in GitHub Desktop.
Save micahyoung/8413532 to your computer and use it in GitHub Desktop.
Poor man's bisect optimization
for i in {1..3}; do
git co master &>/dev/null;
for j in {1..2}; do
git rev-parse --short HEAD
time $*
git co HEAD^ &>/dev/null;
done;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment