From: "Uwe Kleine-König" <ukleinek@strlen.de>
To: Sean Davis <sdavis2@mail.nih.gov>
Cc: git@vger.kernel.org
Subject: Re: Problems with git over http
Date: Sat, 20 Sep 2008 20:42:57 +0200 [thread overview]
Message-ID: <20080920184257.GD18932@strlen.de> (raw)
In-Reply-To: <264855a00809201013h6003abbfr9bbdd20c92e9201d@mail.gmail.com>
Hello Sean,
On Sat, Sep 20, 2008 at 01:13:53PM -0400, Sean Davis wrote:
> 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?
Try cloning first. And check the error log of apache. I don't know how
pushing over http works, but maybe you installed git into /usr/local and
/usr/local/bin is not in the PATH for the apache user?
Best regards
Uwe
next prev parent reply other threads:[~2008-09-20 18:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-20 17:13 Problems with git over http Sean Davis
2008-09-20 18:42 ` Uwe Kleine-König [this message]
2008-09-20 20:40 ` Sean Davis
2008-09-20 21:42 ` Jakub Narebski
2008-09-20 22:27 ` Sean Davis
2008-09-21 16:25 ` Matthieu Moy
2008-09-21 20:51 ` Sean Davis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080920184257.GD18932@strlen.de \
--to=ukleinek@strlen.de \
--cc=git@vger.kernel.org \
--cc=sdavis2@mail.nih.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.