On Sunday 05 February 2006 09:06, Alan Chandler wrote: > 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. I found it out, by getting the post update hook to e-mail me the value:-) its in the repository (ie document_root/.git) -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Sun Feb 05 20:37:51 2006
This archive was generated by hypermail 2.1.8 : 2006-02-05 20:38:01 EST