Created
March 20, 2020 02:15
-
-
Save SynCap/f948d611f75f0721746264fab6458564 to your computer and use it in GitHub Desktop.
Push all remote repositories at the same time
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 config --global alias.pushall '!f(){ for var in $(git remote show); do echo "pushing to $var"; git push $var; done; }; f' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment