Re: Managing linux-next tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Attachment: pgpy7hE3Vdnvl.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux