自建 Android 源码 git/repo 仓库
来源:互联网 发布:mac os 解压软件 编辑:程序博客网 时间:2024/05/19 10:15
http://blog.chinaunix.net/uid-26990529-id-3396947.html
获取repo工具
curl http://android.git.kernel.org/repo > ~/bin/repo chmod a+x ~/bin/repo
获取正版的目录树
mkdir myandroid cd myandroid repo init --repo-url=git://github.com/MIPS/repo.git --repo-branch=stable -u git://github.com/MIPS/manifests.git -b mips-froyo-r9 --mirror repo sync -j18
建立自己的仓库
cd /var/lib/git mkdir mipsandroid-xinzhen cd mipsandroid-xinzhen repo init --repo-url=file:///home/xinzhen/myandroid/repo.git --repo-branch=stable -u file:///home/xinzhen/myandroid/manifests.git -b mips-froyo-r9 --mirror repo sync
注:/var/lib/git是git-daemon 的 base-path
修改配置文件 /var/lib/git/mipsandroid-xinzhen/manifests.git/config
[daemon] uploadpack=true uploadarch=true receivepack=true
修改 manifests 使之使用我们自己的路径
cd /tmp/ git clone git://192.168.1.51/mipsandroid-xinzhen/manifests.git cd manifests/ vim default.xmlfetch="git://github.com/MIPS/" />改为fetch="git://192.168.1.51/mipsandroid-xinzhen" />
试试看从另一台电脑访问这个 repo 仓库:
repo init --repo-url=git://192.168.1.51/mipsandroid-xinzhen/repo.git --repo-branch=stable -u git://192.168.1.51/mipsandroid-xinzhen/manifests.git -b mips-froyo-r9 repo sync -j5
0 0
- 自建 Android 源码 git/repo 仓库
- 自建git仓库
- Android源码仓库和Repo工具使用
- Android源码仓库和Repo工具使用
- Android源码解析之repo仓库
- repo 管理git仓库
- repo+git 仓库搭建
- 使用Git和Repo获取Android源码
- 建立git repo代码仓库
- git学习--repo批量创建远端仓库----建立自己的android代码仓库
- 在自建的git服务器新建仓库
- 如何用Git和Repo获取Android源码
- 使用repo和git下载android源码 和 相关解释
- Android源码学习 使用Git和Repo进行版本管理
- Android源码下载——Repo\Git的常用命令介绍
- 使用repo和git下载android源码 和 相关解释
- 使用repo和git下载android源码 和 相关解释
- 使用git与repo获取Android相关源码到本地
- sqlserver定时删除或者更新数据
- C++中compare,assign ,itoa,c_str等字符串函数的使用
- Service--AIDL
- LeetCode 166 Fraction to Recurring Decimal
- Open edX Cypress完整汉化语言包
- 自建 Android 源码 git/repo 仓库
- ListView
- cocoaPods管理第三方控件库
- 使用POI对EXCEL进行单元格的合并
- matlab对文件目录路径的操作
- 前端之Android入门(1):环境配置
- 和机器学习和计算机视觉相关的数学
- 出现HTTP Status 405 - HTTP method GET is not supported by this URL
- ffmpeg---CompilationGuide