====== 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 cp post-update.sample post-update * make sure it is executable chmod +x post-update * since the command isn't on Site5 exactly the way it's listed in this file, open it and edit the file like this #exec git-update-server-info git update-server-info ===== 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