Skip to contentSkip to conversation

Update kernel source to latest?

DISCUSSION habisravi 4 participants 4 messages Mar 30, 2014

lore
Share & tools
lore

habisravi

author
#0 lore raw

I cloned the linux kernel source from "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git". When i type "git tag" in the source folder i see version up to "v3.9-rc8", but kernel.org shows latest version is 3.14-rc8. How can i update my source repository to the latest.

#1 lore raw
Quoted 2 lines · habisravi

I cloned the linux kernel source from "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git". When i type "git tag" in the source folder i see version up to "v3.9-rc8", but kernel.org shows latest version is 3.14-rc8. How can i update my source repository to the latest.

Usually, you can just do "git pull".

#2 lore raw
In reply to habisravi
Quoted 1 line · habisravi

I cloned the linux kernel source from "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git". When i type "git tag" in the source folder i see version up to "v3.9-rc8", but kernel.org shows latest version is 3.14-rc8. How can i update my source repository to the latest.

Tags are sorted lexicographically, so v3.14-rc8 is < v3.9-rc8. Scroll up or pipe to less.

Signature · 2 lines
Thanks.
-- Max
#3 lore raw
Quoted 5 lines · Max Filippov
Quoted 1 line · habisravi

I cloned the linux kernel source from "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git". When i type "git tag" in the source folder i see version up to "v3.9-rc8", but kernel.org shows latest version is 3.14-rc8. How can i update my source repository to the latest.

Tags are sorted lexicographically, so v3.14-rc8 is < v3.9-rc8. Scroll up or pipe to less.

how about version sort

git tag | sort -V