How can I setup git server, than different users (clients, not the server users) can access different repositories? I want the behavior, like it is on the github, where you always access the "git" user on their server (git@github.com) but you can modify only some of the repositories.



You can achieve this kind of behavior with gitolite. http://gitolite.com/gitolite/index.html

Gitolite allows you to setup git hosting on a central server, with fine-grained access control and many more powerful features.

  • Yepp, as long as you only want/need a Git remote then Gitolite is awesome. It's flexible, robust, hardly uses any resources at all, and requires very little maintenance. – andol Jan 21 '17 at 7:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.