Created
March 21, 2013 09:09
-
-
Save anscii/5211712 to your computer and use it in GitHub Desktop.
Mass git cherry-pick
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
#!/bin/sh | |
for BRANCH in br1 br2 | |
do | |
git checkout $BRANCH | |
git cherry-pick master | |
git push origin $BRANCH | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment