Auto deployment PHP script using Gitolite
问题 i would like to setup auto deployment script to my testing server locally. i'm using gitolite on ubuntu desktop 11.04. i install gitolite using apt-get install gitolite, so it is create user gitolite and group gitolite. Now i setup my testing webserver using apache which has user and group ivan:ivan, and do git clone under that username. so all the files and folder have the same file owner ivan:ivan. i setup post-receive hooks under /var/lib/gitolite/repository/testrepo/hooks/ and have this