Managing linux-next tree

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Thu Aug 1 08:42:36 EDT 2013


On Thu, 01 Aug 2013 15:33:21 +0530, Kumar Amit Mehta said:

> 1. Clone the tree (once):
> $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git


This won't do what you want.  What you want is something more like:

$ 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

which will leave you a linux-next tree that you can update.

> $ git pull

This will *not* work on linux-next.  Once you build the tree as above,
you want to use 'git remote update' instead of pull.
-------------- 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/20130801/1933c6c7/attachment.bin 


More information about the Kernelnewbies mailing list