Re: Problems with git over http
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Sep 20, 2008, 21:42 UTC
- Message-ID
- <m3wsh6lck1.fsf@localhost.localdomain>
- In-Reply-To
- <264855a00809201013h6003abbfr9bbdd20c92e9201d@mail.gmail.com>
"Sean Davis" <sdavis2@mail.nih.gov> writes:
Show 10 quoted lines
> I am new to git and trying to set up a remote repository over http. I > have configured apache2 and the bare, empty repository. Using curl, I > can get the file HEAD without a password (seems .netrc is correct?). > However, when I try to push to the repository, I get the following: > > sdavis@lestrade:/tmp/testing> git push > http://sdavis@watson.nci.nih.gov/git/sean_git.git/ master > fatal: exec http-push failed. > error: failed to push some refs to > 'http://sdavis@watson.nci.nih.gov/git/sean_git.git/'
Errr... to _push_ via https you have to enable WebDAV. See Documentation/howto/setup-git-server-over-http.txt
-- Jakub Narebski Poland ShadeHawk on #git