Last Updated: February 25, 2016
· 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/
# Everything looks good
git checkout -
git merge -
git push --all

For git checkout -, see