文章标题
来源:互联网 发布:电子琴培训班网络教学 编辑:程序博客网 时间:2024/06/18 13:21
repo
通过 TAG 回退项目
- 通过 TAG 可以回退整个项目的所有工程到某天的时间点。
(1)SCM在每天编译版本,都会打上 TAG, 位于:
项目/.repo/manifest/tag目录/具体某天.xml
(2)在项目目录下指向对应的 TAG:
repo init -u ssh://xxx.xxx.xxx.xxx:xxx/XXX/manifest -m tag目录/具体某天.xml
(3)更新代码:
repo forall -c git reset –hard && repo forall -c git clean -fd && repo sync -cj24
git
stash
git stash save “modify bug_1” 将目前的修改保存起来
git stash list 查看通过上述命令都保存了哪些
git stash apply stash@{1} 恢复后并没有删除stash列表中的,可以通过 git stash drop stash@{0} 来删除
git stash pop stash@{0} 恢复的同时也删除了stash中的
阅读全文
0 0
- 文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题 文章标题 文章标题 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- leetcode-14-求字符串数组最长公共前缀
- 排序算法的判别: Insert or Merge,Insertion or Heap Sort
- Linux命令基础23-useradd和passwd命令
- Java中的throw和throws
- linux which
- 文章标题
- hdoj 6030 Happy Necklace
- Windows下安装并设置Redis
- 括号匹配(二)
- 人生不同的阶段
- HUST1579-Portal BFS+状态压缩 2017华科现场赛-C
- linux 硬链接和软连接
- 快速排序
- mysql之触发器