docs:site5:update-server-info

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> ===== 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

  • docs/site5/update-server-info.1270919733.txt.gz
  • Last modified: 2010/04/10 11:15
  • by billh