Skip to content

Instantly share code, notes, and snippets.

@seveas
Created April 15, 2015 22:07
Show Gist options
  • Save seveas/2499963031c658eafbf1 to your computer and use it in GitHub Desktop.
Save seveas/2499963031c658eafbf1 to your computer and use it in GitHub Desktop.
cd /tmp
mkdir foo
cd foo
git init
fortune > bar
git add bar
git commit "-m$(fortune)"
git tag base
for i in $(seq 4096); do echo "--- $i ---"; git checkout -b branch-$i base; fortune > bar-$i; git add bar-$i; git commit "-m$(fortune)"; done
git checkout base
git merge branch-{1..4096}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment