Hacker News new | ask | show | jobs
by vhost- 4696 days ago
Yep! 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.
2 comments

Can'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-mul...

Nice. I didn't know you could push to multiple remotes (in the same command). Could you give me an example? Thanks!
The 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.