Created
November 30, 2020 10:36
-
-
Save kirschem/85c5a287747094c6f92041ebfe811d07 to your computer and use it in GitHub Desktop.
Checks out all remote branches in a github repository
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 fetch --all && git branch -r | tail -n +2 | sed 's#origin/##' | xargs -n1 git checkout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment