Both usera and userb login using ssh and now I want to setup a git remote for them to use for collaboration on a project.
I know how to setup git, that is not my question!
I just want to know how to organize things permission wise on my server.
My rough plan is to:
- Add a group called 'git'
- Create a directory chowned by that group where I keep the repo, i.e. '/gitrepos/'
- Add usera and userb to that group for access.
Is this the prefared way to set up a co-owned folders on a linux (debian) serverbox?