Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
for i in `git branch -r|grep -v HEAD|grep -v master|sed 's:origin/::g'`
do
git checkout --track -b $i origin/$i
done
git checkout master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment