Live data from Hacker News

Ask HN: Private Git repo hosting?

news.ycombinator.com

61–70 of 72 posts

Re: Ask HN: Private Git repo hosting?

#61
post #11

You can put the bare repo on a server and then use ssh. Dead simple and works great if you have a dev server where all developers have access to anyway.

Yeah, pretty much that's what I also find the most appropriate.

GitHub seems to be the second-best option ( sometimes the first ), but when you have unlimited non-paid private repos your mind goes also unlimited : I serve my important configuration files, various scripts, small personal projects, even my bank statements on a git repo, hosted on my personal server. But if every repo costed me 2$ per month, I doubt I would do that.

Re: Ask HN: Private Git repo hosting?

#64
post #51

Had to switch from BitBucket to GitHub because BitBucket has performance issues dev team in Nepal. The 24 hour dev cycle is upon us and it's important to make sure these tools work on both sides of the planet.

Experienced that to in France. Since we also use Bitbucket for code review, I just put a box with a good network connection as a secondary git server that synced code at each push.

Re: Ask HN: Private Git repo hosting?

#65
I ended up getting an DigitalOcean $10/month box and set up GitLab (which is awesome). I figured for almost the same price of GitHub micro plan I could get unlimited repos by self hosting and could additionally use the box as a private maven repo host and maybe a build box (barely though).

Re: Ask HN: Private Git repo hosting?

#66

Earlier quoted context omitted.

I'm not arguing about GitHub being great, but it really only takes a few minutes to spin up an EC2 instance and add a few user accounts with a shared folder. That's really all that's required to set up a shared repo.

Plus backups., security updates etc. OK you can not backup got as someone probably has a copy but...

Plus assuming you're running an EBS-backed instance, it's already backed up. And it's easy enough to set your instance to automatically apply security updates. If all it's doing is hosting a few git repos, breaking things isn't really a huge concern. I love GitHub, but I wouldn't pay for it as a way of saving money, I'd pay for the extra features.

Re: Ask HN: Private Git repo hosting?

#67

Earlier quoted context omitted.

I'm not arguing about GitHub being great, but it really only takes a few minutes to spin up an EC2 instance and add a few user accounts with a shared folder. That's really all that's required to set up a shared repo.

Plus backups., security updates etc. OK you can not backup got as someone probably has a copy but...

Plus assuming you're running an EBS-backed instance, it's already backed up. And it's easy enough to set your instance to automatically apply security updates. If all it's doing is hosting a few git repos, breaking things isn't really a huge concern. I love GitHub, but I wouldn't pay for it as a way of saving money, I'd pay for the extra features.

Re: Ask HN: Private Git repo hosting?

#68

Atlassian Stash [1]. Gets regular updates and it plays nicely with JIRA and Bamboo. [1] https://www.atlassian.com/software/stash/whats-new

It works but it's not great. It's rather slow and the interface leaves some things to be desired (for example, you can't close a pull request without letting Stash merge it for you).

You can decline / reject / whatever they call it in stash and it won't be merged...

Re: Ask HN: Private Git repo hosting?

#69
post #54

Free BitBucket for private repos, free GitHub for open source projects. I would have considered the micro plan if it weren't for the 5 repo limit -- I am (sadly) not rich enough to pay them just for being nice if I can get the number of private repos I need for free elsewhere.

Same here, plus github enterprise at work and a private install of stash for a different project at work.
Post reply on HN