如何通过Git在本地建立Linux Kernel的版本库镜像

在本地Git的版本库根目录下执行以下命令,将会同步Linux Kernel版本库到本地,进行镜像。

gitclone–baregit://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

当然,,该命令只会在本地建立版本库镜像。那么如何保持和Linux Kernel版本库的更新呢?

建议参考以下项目,使用git-mirror进行定时同步更新版本库。

https://github.com/ndechesne/git-mirror

注:Linux Kernel整个版本库有2-3G,请确保硬盘剩余空间够用。

你可以选择这样的“三心二意”:信心恒心决心;创意乐意。

如何通过Git在本地建立Linux Kernel的版本库镜像

相关文章:

你感兴趣的文章:

标签云: