Hacker News new | ask | show | jobs
by udoprog 5472 days ago
I don't get it, why is setting up a private git repository on your own server a hassle?

Assuming you have ssh access (compacted for clarity):

  ssh server "git init --bare repo/project.git"
  git clone server:repo/project.git
Am I missing something?

EDIT: mkdir superfluous

1 comments

That doesn't handle the multi-user authentication/authorisation.
Yes it does, however it doesn't provide granularity for multiple users of the same server, and unless you go for vanilla could be troublesome to customize through something like pam. I simply commented on the non-issue with creating private repositories.

A service like this is nice if you don't have the ability or time to setup your own environments, but in my opinion could be risking a very slim user scenario.