Re: Problems with git over http

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Sep 20, 2008 at 2:42 PM, Uwe Kleine-König <ukleinek@xxxxxxxxx> wrote:> 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@xxxxxxxxxxxxxxxxxx/git/sean_git.git/ master>> fatal: exec http-push failed.>> error: failed to push some refs to>> 'http://sdavis@xxxxxxxxxxxxxxxxxx/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?
Thanks, Uwe.  Good idea.  On the client:
orf-01569049:/tmp sdavis$ git clonehttp://sdavis@xxxxxxxxxxxxxxxxxx/git/sean_git.git/Initialized empty Git repository in /tmp/sean_git/.git/cat: /tmp/sean_git/.git/refs/remotes/origin/master: No such file or directory/usr/local/bin/git-clone: line 4: cd:/tmp/sean_git/.git/refs/remotes/origin: No such file or directoryfatal: Not a valid object name HEAD
Nothing in the error_log on apache.  Why would git be looking for aremotes origin since I am cloning from a remote source?
Sean��.n��������+%������w��{.n��������n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�m


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux