Set up gitosis, and it turns out that all users are working on behalf of one member gituser. And every time the updated files in the repository that triggered the post-retseive:
#! / bin / bash read oldrev newrev refname echo "REFNAME: $ refname" echo "********" if [$ refname == "refs / heads / master"] then cd / var / www / siteA unset GIT_DIR git pull origin master echo "YOU SEND COMMIT TO *** $ refname ***" fi echo "Done" and after that, the updated files changes owner. And it is necessary to leave -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.