Skip to content

Instantly share code, notes, and snippets.

@paullaffitte
Last active January 19, 2019 20:48
Show Gist options
  • Save paullaffitte/f3486e963f41de6ec060189448cc9b6b to your computer and use it in GitHub Desktop.
Save paullaffitte/f3486e963f41de6ec060189448cc9b6b to your computer and use it in GitHub Desktop.
An alias to push master on all remotes
# 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