Created
April 10, 2018 17:57
-
-
Save kuldipem/4fde2f8396bdde2626b2896767b633f5 to your computer and use it in GitHub Desktop.
git copy all remote
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
for b in `git branch -r | grep -v -- '->'`; do git branch --track ${b##origin/} $b; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment