Created
April 18, 2024 06:44
-
-
Save Alex009/1503049dfbec9182cd38e2ab2bc721d0 to your computer and use it in GitHub Desktop.
Checkout all git branches
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
git branch -a | sed -n "/\/HEAD /d; /\/master$/d; /remotes/p;" | xargs -L1 git checkout -t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment