On 10-06-23 06:50 AM, Tapas Mishra wrote:
I checked this page
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=summary
they mentioned an HTTP url
http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
but when I accessed it then got a 404 page not found error.

The http address of a git repo is for accessing it via the http protocal instead of the git protocol. So to use that http address to clone the repo you'd issue the command:

git clone http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

http git addresses are useful for accessing repos from behind firewalls that block the standard git port of 9418, but http access can be considerably slower than git access.

This is all explained in the following: http://progit.org/book/ch4-1.html

I highly recommend that book, which is freely available online.

Reply via email to