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"
if [$ refname == "refs / heads / master"]
cd / var / www / siteA
git pull origin master
echo "YOU SEND COMMIT TO *** $ refname ***"
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 https://groups.google.com/groups/opt_out.