git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git clone problem through HTTP

From
Junio C Hamano <junkio@cox.net>
Date
Apr 20, 2007, 21:09 UTC
Message-ID
<7vk5w6ycq8.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<7vodliyd1j.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 17 quoted lines
> "Aubrey Li" <aubreylee@gmail.com> writes:
>
>> I'm behind of a firewall on which the git port is not permitted, so I
>> can only use http protocol. Unfortunately, I can't clone linus' git
>> tree at all. I've tried
>>
>> git version 1.4.4.2
>> git version 1.4.4.4
>> git version 1.5.0.1
>> git version 1.5.0.4
>> git version 1.5.0.6
>> git version 1.5.1.1,
>>
>> none of them work. The following is the error.
>
>         $ git init
>         $ git remote add origin http://.../linux-2.6.git
This step needs to have "add -m master" instead of just "add".
> 	$ git config branch.master.remote origin
> 	$ git config branch.master.merge refs/heads/master
>         $ git fetch
>         $ git merge origin
Otherwise you end up having to say "git merge origin/master" here.
>
> should work, because I knew about this problem and fixed it in
> git-fetch in v1.5.0.
Previous: Junio C HamanoNext: Junio C Hamano
Message 9 of 11 in “git clone problem through HTTP”
  1. Aubrey LiApr 20, 2007
  2. Julian PhillipsApr 20, 2007
  3. Medve Emilian-EMMEDVE1Apr 20, 2007
  4. Aubrey LiApr 20, 2007
  5. Alex RiesenApr 20, 2007
  6. Brian GernhardtApr 20, 2007
  7. Julian PhillipsApr 20, 2007
  8. Junio C HamanoApr 20, 2007
  9. Junio C HamanoApr 20, 2007
  10. Junio C HamanoApr 20, 2007
  11. Aubrey LiApr 22, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.