How to push to multiple git remotes at once
If you use multiple git remotes like me, you often have to manually push to each remote one by one. I have good news, you don't have to do it manually! Here is how you can push to all your remotes at once.
add this to your .git/config
[remote "allremotes"] fetch = +refs/heads/*:refs/remotes/allremotes/* url = ... (url of first remote) url = ... (url of second remote) ...
You just add as many urls are you want! To push to it just run, git push allremotes
.