From: Jerome Yanga Date: Wed, 07 Mar 2012 00:28:06 GMT Subject: Re: git push from client is not updating files on server Message-ID: In-Reply-To: <4F569EA8.4050907@gmail.com> The project in Apache's DocumentRoot was created using the following command: "cd /var/www/git git clone --bare .git" Hence, I believe that is is bare. Besides, it does not have .git folder. I assumed that when I did this that the non-bare directory will also be updated when a push is performed via http. My objective is that I would like the developers to be able to push via http and these pushes will need to be reflected on the non-bare working directory as these directories will be used for automated tests. Is what I am trying to do even possible? If so, please share with me a guide. Thank you in advance. Regards, j On Tue, Mar 6, 2012 at 3:32 PM, Neal Kreitzinger wrote: > On 3/6/2012 5:07 PM, Jerome Yanga wrote: >> >> Is there a way to make git write to the working directory of the >> central public server? >> > In your original post you stated: > > >> From the git client server, I can successfully clone projects in from >> the central public Git server using the command below. >> >> git clone >> http:///.git > > ".git" extension implies "bare" repo.  A bare repo has _no_ working tree. >  Is the repo in question bare or non-bare?  If you are not sure, then cd to > the central-repo-dir (ie., the .git you cloned _from_ in your > example above) and run "git config -l |grep bare".  If it says > "core.bare=true" then it is a bare repo. > > v/r, > neal