Welcome 微信登录

首页 / 操作系统 / Linux / 如何通过Git在本地建立Linux Kernel的版本库镜像

在本地Git的版本库根目录下执行以下命令,将会同步Linux Kernel版本库到本地,进行镜像。
  1. 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,请确保硬盘剩余空间够用。Ubuntu 11.10通过PPA源安装Gmail Watcher如何在Ubuntu上安装Snort入侵检测系统相关资讯      Linux Kernel  Git 
  • Git 2.10 发布- Push、Worktree、   (09月21日)
  • Linux Kernel 开发报告 25 周年版  (09月10日)
  • 使用Eclipse上传/下载Git项目  (05月29日)
  • Linux Kernel 3.14系列结束支持  (09月12日)
  • Git 技能学习总结  (08月05日)
  • Git诞生11年后,BitKeeper宣布开源  (05月11日)
本文评论 查看全部评论 (0)
表情: 姓名: 字数