3 ms·
Ask HN: GitHub mirror
Is there a GitHub mirror somewhere?
My boxen setup is failing, because
```
Cloning into '/opt/boxen/nodenv'...
fatal: unable to access 'https://github.com/wfarr/nodenv/': Failed connect to github.com:443; Operation timed out
```
I believe this is caused by DDOS. Any suggestion?
- opless 12y agoWait. I guess.
- tomswartz07 12y agoUnfortunately, I don't know of any 'upstream' mirror. However, I've configured my projects to be mirrored on several locations with one easy command: git remote set-url origin --push --add <a remote> git remote set-url origin --push --add <another remote> Basically, when you `git push origin master`, it will go to both <a remote> and <another remote> at the same time. Once it's configured, there's no workflow change. I typically mirror my code with GitHub and BitBucket using this setup.
- w0rd-driven 12y agoGitLab and GitHost are the two that immediately spring to mind. The former having a more free tier, the latter free for non-profit or education.
- jobvandervoort 12y agoGitLab.com is completely free. Unlimited everything, see: https://about.gitlab.com/gitlab-com/ https://about.gitlab.com/gitlab-com/
- bradleyland 12y agoGit is distributed. Any up-to-date copy if the repo can be used as the deploy source. Likewise, if you have all the changes you need to deploy, you can set up your own Git server pretty quickly, then push there and reconfigure your deploy mechanism to pull from your Git server. DigitalOcean has a useful reasonably complete guide: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-private-git-server-on-a-vps https://www.digitalocean.com/community/tutorials/how-to-set-...