repo 获取各个库的tag代码
来源:互联网 发布:电子书设计软件 编辑:程序博客网 时间:2024/06/07 19:04
项目发布版本之后,需要备份,git管理中使用tag跟踪,在repo管理的多个库中。
直接上干货,使用如下方法:
1、创建各个库的tag
repo forall -c git tag tag_V1.3
repo forall -c git push origin --tags
2、创建Manifest库tag
git checkout -b tag_V1.3
修改default.xml:
revision="refs/tags/tag_V1.3"
git add default.xml
git commit -m "release V1.3"
3、需要下载tag代码时,下载代码
repo init -u git@url_Manifest.git -b refs/tags/tag_V1.3
repo sync
repo start tag_V1.3
0 0
- repo 获取各个库的tag代码
- 获取github中指定tag的代码
- git 获取指定的tag处代码
- android git和repo的使用,获取android代码
- android git和repo的使用,获取android代码
- repo 工具的获取
- repo 的代码
- Jenkins获取git tag代码
- Android的代码同步repo
- Android的代码同步repo
- git 如何获取指定 tag 代码
- git 如何获取指定 tag 代码
- iOS获取手势的tag
- 取得tag的代码方法
- 获取android源码时repo的错误
- 获取android源码时repo的错误
- 用repo+gitolite管理自己的代码
- 获取字节的各个bit
- 随机数和随机字符串的生成
- MySQL数据恢复的九把瑞士军刀
- Implement Queue by Two Stacks 解题报告
- ubuntu 工具 安装笔记
- 在微信网页中,实现微信通过菜单‘在浏览器中打开’跳转到指定的url
- repo 获取各个库的tag代码
- android JMessage集成
- linux中ldconfig命令 以及 添加动态库自动搜索路径
- Linux管线命令之排序命令(sort, wc, uniq)
- 轮廓的查找、表达、绘制、特性及匹配(How to Use Contour? Find, Component, Construct, Features & Match)
- 【Unity3D】对话
- 兄弟单词
- javabean
- 自定义jquery小工具