Junio C Hamano <junkio@xxxxxxx> writes: > "Aubrey Li" <aubreylee@xxxxxxxxx> 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. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html