From: Andrew Ardill Date: Mon, 04 Feb 2013 12:58:39 GMT Subject: Re: Feature request: Allow extracting revisions into directories Message-ID: In-Reply-To: <1359980045.24730.32.camel@t520> On 4 February 2013 23:14, Robert Clausecker wrote: > The specific workflow I am planning is this: > > I have a server that hosts a bare git repository. This git repository > contains a branch production. Whenever somebody pushes to production a > hook automatically puts a copy of the current production branch > into /var/www/foo. I could of course use pull for that but it just does > not feels right. Why should I have a repository twice on the server? Maybe I'm missing something. How does the behaviour you need differ from > GIT_WORKING_DIR=/var/www/foo git checkout -f ?? Regards, Andrew Ardill