By m73mitchell
Reading this article about setting up a private git server on DO https://www.digitalocean.com/community/articles/how-to-set-up-a-private-git-server-on-a-vps, I’m wondering why one would do it. The article says,
“This can be a great option if you want to keep your code private while you work. While open-souce tends to be the status quo, there are some times when you don’t want to have your code freely available.”
However, github has private repos (which ou’d have to pay for). However, since you pay for the DO server, is there an advantage I’m not aware of ?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hosting your own Git server is an attractive option if you want or need full control over the software and some control over the hardware that stores your data. As Pablo mentioned, I’ve also seen GitHub go down once or twice in the middle of a deployment, which was less than convenient. In addition, enterprise companies usually try to keep everything in-house, which means using a host that you have more control over or hosting the Git server internally all together. As a side note, GitLab is a really nice product: https://www.digitalocean.com/community/articles/how-to-set-up-gitlab-as-your-very-own-private-github-clone
Advantage? Probably not huge. I would compare it to asking for the advantage of Burger King over McDonalds. <br> <br>What’s the cost per GB on GitHub? Also, I vaguely remember some rumblings of GitHub going down and being inaccessible a while back; bolstering the point that one should not put all their eggs in one basket and have a backup Git server. <br> <br>Just some random thoughts…
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.