Re: Download Linus's latest git tree

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

 



Hi All,

You can try following steps to checkout to the latest stable kernel.

# First clone to the current release.
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git linux-stable
cd linux-stable

# Create local branch stable
git checkout -b stable

# Added a remote git tree to the .git/config using following command.
git remote add stable git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

# Now fetch the changes to the current stable release. Will checkout the changes to v3.14.y stable.
git fetch stable v3.14.y

# Now this kernel will merge the changes in to stable branch.
git merge FETCH_HEAD

Please share your thoughts on this.

-Anand Moon
 



On Tuesday, May 27, 2014 7:48 AM, "Valdis.Kletnieks@xxxxxx" <Valdis.Kletnieks@xxxxxx> wrote:
On Mon, 26 May 2014 15:04:17 -0300, Lucas Tanure said:


> git clone --depth 1 git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

Note that '--depth 1' results in a faster initial download, but it has
a number of disadvatages - you can't clone it into another tree of yours,
nor can you push or pull from it.  And most notably, you can't use it
for a git bisect.

I'd recommend biting the bullet, and doing a full clone (you only have to
do that the first time - the next time, even if you need a new copy of the
tree, you can clone your original for the basis and not have to refetch it).




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

_______________________________________________
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