阅读597 返回首页    go 京东网上商城


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

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

git clone --bare git://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,请确保硬盘剩余空间够用。

最后更新:2017-04-02 06:52:09

  上一篇:go animation的xml定义中的android:interpolator属性
  下一篇:go 实用文章:常用开源协议详细解析