Last active
September 14, 2015 17:43
-
-
Save timanrebel/f09c2533256757169931 to your computer and use it in GitHub Desktop.
SVN branches to Git branches on Mac OSX
This file contains hidden or 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
git branch -r | grep -v tags | sed -Ene 's, *([^@]+)$,\1,p' | \ | |
while read branch; \ | |
do echo "git branch $branch $branch"; \ | |
done | sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment