0

Is there a way to setup a git server so that users may be able to create new repositories remotely? I'm thinking of a sort of bare bones, DIY Github work-alike, without fork & pull request capabilities.

Nicola Musatti
  • 17,834
  • 2
  • 46
  • 55
  • Could you talk more about what you intend to do with this? Why "bare bones"? Why no fork & pull request? – Schwern Mar 13 '18 at 18:57
  • This is just wishful thinking right now. I have a few Mercurial repositories served from Apache and I know how to setup something similar for git. I was just wondering if I could do it so as not to be involved when my users need to create new repositories. – Nicola Musatti Mar 13 '18 at 19:01
  • in that case you're probably better off with something like Self-Hosted GitLab that provides users with the features they've come to expect. Or eschew all maintenance and go with a fully hosted solution. You do less work, your users get more features. – Schwern Mar 13 '18 at 19:07

1 Answers1

0

There's any number of stand-alone Github-like servers. Self-Hosted GitLab Libre is free and featureful.

If you want to go crazy bare bones, all your users need is ssh access to a directory on a server. The normal user@host:path/repo.git uses ssh. You can read up on this in Chapter 4 of Pro Git.

Schwern
  • 153,029
  • 25
  • 195
  • 336
  • git also comes packaged with a (very) basic server of its own, see [git-daemon](https://git-scm.com/docs/git-daemon) – LightBender Mar 13 '18 at 19:03