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"]
         cd / var / www / siteA
         unset GIT_DIR
         git pull origin master
         echo "YOU SEND COMMIT TO *** $ refname ***"
echo "Done"

and after that, the updated files changes owner. And it is necessary to 

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 
For more options, visit

Reply via email to