Last active
January 19, 2019 20:48
-
-
Save paullaffitte/f3486e963f41de6ec060189448cc9b6b to your computer and use it in GitHub Desktop.
An alias to push master on all remotes
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
# could have been: git push '*' master | |
alias gitpushallmaster="for remote in \$(git remote); do echo \$remote; git push \$remote master; done" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment