4 ms·
Public Service Announcement You can have multiple remotes for your Git repositories, one of them (Github) being down should not affect your work since you can
by swede 13y ago
Public Service Announcement
You can have multiple remotes for your Git repositories, one of them (Github) being down should not affect your work since you can coordinate a new one with your team in the manner described above.
- vhost- 13y agoYep! I usually setup a mirror at bitbucket and set my local to push to both github and bitbucket and only pull from github. It worked well when github was down and I needed a branch from a remote developer.
- anemator 13y agoNice. I didn't know you could push to multiple remotes (in the same command). Could you give me an example? Thanks!
- vhost- 13y agoThe reply right under mine seems to be a reply to you. It has a stackoverflow link that shows you how to setup two URLs in your origin remote.
- holyjaw 13y agoCan't reply to the child to this comment, so I'll add this as a new child: Here's how to set multiple remotes. (See answer 2). http://stackoverflow.com/questions/849308/pull-push-from-multiple-remote-locations http://stackoverflow.com/questions/849308/pull-push-from-mul...