I have setup git locally and on my server and created a \'post-receive\' so that when I do a push to the live server it should then checkout to the virtual hosts directory o
If your repo is created with the --shared
option (see "Change GIT repository to shared"), that would allow users from the same group to access and write.
Is there any way you can group those different users in the same group?
A bit as what is mentioned in "Git unable to create file permission denied" same group.
Or sudo access, as explained in the comments of this question, changing the sudoers:
git ALL = (root) NOPASSWD: /usr/local/sbin/prgetsimpleappscom