Download Linus's latest git tree
Anand Moon
moon.linux at yahoo.com
Tue May 27 03:16:52 EDT 2014
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 at vt.edu" <Valdis.Kletnieks at vt.edu> 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 at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
More information about the Kernelnewbies
mailing list