Problems with git over http
- From
- Sean Davis <sdavis2@mail.nih.gov>
- Date
- Sep 20, 2008, 17:13 UTC
- Message-ID
- <264855a00809201013h6003abbfr9bbdd20c92e9201d@mail.gmail.com>
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/'
What can I do to try to debug this, as the error message isn't helping me to sort out what is wrong. The client and server are both running git-1.5.x (although the minor versions are a bit different). Any suggestions?
Thanks, Sean