简体   繁体   English

如何使用git切换到特定版本的Linux源代码?

[英]How to switch to a particular version of Linux source code using git?

Specifically, I want to switch to the kernel version 2.6.32.41 source code. 具体来说,我想切换到内核版本2.6.32.41源代码。 However, in the output of 但是,在输出

git tag -l

it shows the following: 它显示以下内容:

v2.6.32-rc2 v2.6.32-rc2
v2.6.32-rc3 v2.6.32-rc3
v2.6.32-rc4 v2.6.32-rc4
v2.6.32-rc5 v2.6.32-rc5
v2.6.32-rc6 v2.6.32-rc6
v2.6.32-rc7 v2.6.32-rc7
v2.6.32-rc8 v2.6.32-rc8

Which one of these is 2.6.32.41 linux kernel source? 2.6.32.41 linux内核源代码中的哪一个是?

None of those tags are the 2.6.32.41 source. 这些标签都不是2.6.32.41的来源。 The 2.6.x.* and 3.x.* versions are developed and maintained separately in the "stable" repository: 2.6.x. *和3.x. *版本是在“稳定”存储库中分别开发和维护的:

git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

See https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git for the gitweb interface. 有关gitweb界面,请参见https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM