Created
February 6, 2022 14:14
-
-
Save roberto-butti/77c5a7426f2bf607273958a92343a580 to your computer and use it in GitHub Desktop.
Walk through the 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
for i in $(git branch --list "0*" --format="%(refname:short)"); do | |
git checkout $i | |
echo "Branch : ${i}" | |
echo "Press _enter_ to checkout the next branch" | |
read | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment