GitHub

How to add multiple remote servers to a Git repository so that it can push to both GitHub and GitLab

I had this particular case of adding a git repository to multiple servers - one, GitHub, and the other running GitLab.

The code was already being pushed to my GitLab server, when a client wanted the code to be pushed to the development branch of a project in his GitHub account.

This is what I did to get it working:

(Ref.: http://stackoverflow.com/questions/849308/pull-push-from-multiple-remote...)

Subscribe to RSS - GitHub
randomness