From: Alan Chandler Date: Sun, 05 Feb 2006 09:06:51 GMT Subject: What is the working directory for post-update hook? Message-ID: <200602050906.52016.alan@chandlerfamily.org.uk> The document root of my website has a git repository under it (in the standard .git subdirectory) and want a post update hook to checkout the contents (so the web server sees it!) I will be pushing to it via ssh. Does this mean that the post-update hook with be run with a working directory of the web site's document root? or something relative (such as GIT_DIR) so that I don't have to do a specific cd to an absolute path. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust.