I’m setting up a git project and using my server as the central repo for my group members.
My question is, how can I give multiple users access to that same repo?
As it currently stands, I successfully gave myself access, and added a repo. However, when accessing the repo with user@host.com:projectname.git, it finds the project inside my home folder.
Naturally, user@host.com:projectname.git will access projectname.git in their home directory instead of mine.
How can I give multiple users access to the same repo?
Have you considered using gitosis ?
I am not sure what you are doing here but typically, you create a user account say
gitand create your central repo at/home/git/project/and add everyone you wish to give permission’s public keys added to~git/.ssh/authorized_keysAfter thatgit clone git@server:project.gitshould get everything working.