Re: cant get git to work over http
- From
Anatoly Yakovenko <aeyakovenko@gmail.com>
- Date
- Feb 19, 2008, 19:53 UTC
- Message-ID
- <e26d18e40802191153w691ac5fcl3fa972ca6503b9fb@mail.gmail.com>
- In-Reply-To
- <alpine.LSU.1.00.0802191940260.7826@racer.site>
> You set up the git repsitory via http, so where is the problem?
ok, i created a directory on my server. Dav is on and working, i can send and download files using IE on that url.
So is it possible for me to just simply run "git-init" in that directory, and treat that url as i would a repo over ssh or the fs?
i can do this:
$ git-clone /var/www/localhost/htdocs/git/repo/ repo Initialized empty Git repository in /home/aeyakovenko/projects/repo/.git/ 1 block
and i can do this:
$ git-clone ssh://aeyakovenko@localhost/var/www/localhost/htdocs/git/repo/ repo Initialized empty Git repository in /home/aeyakovenko/projects/repo/repo/.git/ aeyakovenko@localhost's password: Receiving objects: 100% (3/3), done. remote: Counting objects: 3, done. remote: Total 3 (delta 0), reused 0 (delta 0)
but for the life of me i cant do this:
$ git-clone http://aeyakovenko@localhost/var/www/localhost/htdocs/git/repo/ repo Initialized empty Git repository in /home/aeyakovenko/projects/repo/.git/ Cannot get remote repository information. Perhaps git-update-server-info needs to be run there?