Getting Started

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Mon Aug 5 15:46:57 EDT 2013


On Mon, 05 Aug 2013 22:14:25 +0530, Sumeet pawnikar said:

> Do we need to git clone 'linux-next' tree or 'linus' tree ?

Cloning Linus's tree works.  Cloning linux-next won't do what you think it does.

You want to do something like this to grow your own copy of linux-next:

$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
$ git remote add linux-next git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
$ git fetch linux-next
$ git fetch --tags linux-next

After which, using 'git remote update' will refresh it. Do *NOT*, repeat *NOT*
try to use 'git pull', because this isn't a clone that you can pull onto...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130805/9a8c8bf8/attachment.bin 


More information about the Kernelnewbies mailing list