This is an old revision of the document!
update-server-info
When using http: or any other “dumb” protocol, git needs to set up files so a client knows what refs and packs are available. ===== enable the post-update hook ===== * On your remote repo, cd into your repo.git/hooks * copy the sample file to a file that will execute<code> cp post-update.sample post-update </code> * make sure it is executable<code> chmod +x post-update </code> * since the command isn't on Site5 exactly the way it's listed in this file, open it and edit the file like this<code> #exec git-update-server-info git update-server-info </code> ===== See Also ===== * git ===== External Links ===== * http://www.bluishcoder.co.nz/2007/09/how-to-publish-git-repository.html * http://stackoverflow.com/questions/2085402/what-does-git-update-server-info-do