Re: cant get git to work over http
- From
Anatoly Yakovenko <aeyakovenko@gmail.com>
- Date
- Feb 19, 2008, 07:09 UTC
- Message-ID
- <e26d18e40802182309l693b2099wb42573aca7348091@mail.gmail.com>
- In-Reply-To
- <20080219063937.GB3819@glandium.org>
> > *.*.*.*- foobar [18/Feb/2008:16:40:12 -0800] "PROPFIND /git/repo > > HTTP/1.1" 301 320 > > Try adding a / at the end of the url you use for your repo.
ah cool, that was it. The initial push seems to have worked,
$ git push -v upload master Pushing to http://aeyakovenko@myserver.com/git/repo/ Getting pack list Fetching remote heads... refs/ refs/tags/ refs/heads/ 'refs/heads/master': up-to-date
but i cant clone or just normally push and pull the repo.
$ git-pull fatal: 'origin': unable to chdir or not a git archive fatal: The remote end hung up unexpectedly
and
$ git-clone http://aeyakovenko@myserver.com/git/repo/ foobar Initialized empty Git repository in /home/aeyakovenko/projects/foobar/.git/ cat: /home/aeyakovenko/projects/foobar/.git/refs/remotes/origin/master: No such file or directory /usr/bin/git-clone: line 450: cd: /home/aeyakovenko/projects/foobar/.git/refs/remotes/origin: No such file or directory fatal: : not a valid SHA1 fatal: Not a valid object name HEAD