Created
April 15, 2015 22:07
-
-
Save seveas/2499963031c658eafbf1 to your computer and use it in GitHub Desktop.
This file contains 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
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