Skip to content

Instantly share code, notes, and snippets.

@sinsoku
Last active December 28, 2015 09:49
Show Gist options
  • Save sinsoku/7481817 to your computer and use it in GitHub Desktop.
Save sinsoku/7481817 to your computer and use it in GitHub Desktop.
for n in `seq 10000`; do git checkout -b br$n master; echo $RANDOM > $RANDOM$RANDOM$RANDOM$RANDOM; git add .; git commit -m"$RANDOM"; done; git checkout master; brs="`git branch | grep -v master`"; git merge $brs; git branch -D $brs; git rm *; git commit -m"del"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment