用repo创建本地版本库
转载:https://wenku.baidu.com/view/5ad899193c1ec5da51e27027.html
http://www.xuebuyuan.com/2004935.html
立repo 本地仓库$mkdir /home/git/android$cd /home/git/android$repo init -u git://android.git.kernel.org/plaorm/manifest.git--mirror $repo syncstep 1: download Android source$mkdir /home/git/android-repo$cd /home/git/android-repo$repo init --mirror -u /home/git/android/plaorm/manifest.git-b android-4.2.1_r1$repo syncStep 2: 建立本地版本库$mkdir android-4.2.1_r1$cd android-4.2.1_r1$repo init -u /home/git/android-repo/plaorm/manifest.git-b android-4.2.1_r1$repo syncStep 3: clone$repo start our-master --all$cd docs/source.android.com$echo aa > test.txt$git add test.txt$git commit -m "add test.txt" $git push aosp our-master(修改文件, 提交, push 到远程): $cd .repo/manifests 修改
https://wenku.baidu.com/view/9abab4c8f7ec4afe05a1df07.html?rec_flag=default&mark_pay_doc=2&mark_rec_page=1&mark_rec_position=2&mark_rec=view_r_1&clear_uda_param=1&sxts=1525244761632
更多相关文章
- Gradle 发布共享库——如何通过Gradle发布Android依赖库(aar)到 ji
- Android x86 4.4-r5 分支修改笔记——系统定制
- 在jitpack创建Android仓库
- 使用本地仓库实现最新版ReactNative集成Android
- Android 发布项目到私服Nexus仓库
- 修改android studio 新建项目的build.gradle的仓库源
- android 使用私有maven仓库发布、打包、引用
- [android]初始化代码仓库时出现“OSError: [Errno 2] No such fi
- iOS开发周报:Swift 项目合并 Android 分支,App Store 开展 “Apps