Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  git remote set-url --add origin $second_url
Not quite HA cluster levels of redundancy, but it's also way simpler to set up.


I actually have this at work for a repo where we want to both push to the server where it'll be deployed (so this server doesn't need some sort of access to another system, trust relations going only one way) as well as to the source repo where we actually collaborate and have an issue tracker etc. Works great for us. Yes, of course you can setup some limited access for this server to pull from the original source but... small team with high security requirements, so this low-tech solution is quite perfect.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: