Thursday, May 18, 2017

Git repo - a tale of two remotes

One repo, two remotes

So you have a Git repo linked to a particular remote. But you need your code available somewhere else as well. Be it because of functionality which you want to keep private, a deploy to cloud environment or the reason lies elsewhere.

How can one approach this kind of situation, i.e. how to add and manage multiple remotes?