Last active
January 26, 2023 11:45
-
-
Save tiagodevweb/276408ccdecad963bf523f80dc378325 to your computer and use it in GitHub Desktop.
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 branch -r | grep -v '\->' | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" | while read remote; do git branch --track "${remote#origin/}" "$remote"; done | |
| git fetch --all {remote?} | |
| git {pull,push} --all {remote?} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment