Last Updated: February 25, 2016
·
1.073K
· twolfson

Push all branches to all remotes

git push --all will push out all local branches to all remotes.

This is extremely dangerous so use it with consideration. However, it makes life as a developer a few characters shorter.

git checkout dev/code.review
# Everything looks good
git checkout -
git merge -
git push --all

For git checkout -, see https://coderwall.com/p/klr_pq