git format-patch经验(转)
来源:互联网 发布:ug8.0编程教程入门图解 编辑:程序博客网 时间:2024/03/28 20:55
git format-patch经验
A
git log
commit c
commit b
commit a
commit init
B
git log
commit init
=============
A,B两人代码共有commit init
现在A改动到a=>b=>c
B想用补丁来升级
A:
git format-patch init..c ==>产生三个补丁
001-commit-a.patch 对应从commit init出发升到a
002-commit-b.patch 对应从commit a出发升到b
003-commit-c.patch 对应从commit b出发升到c
即git format-patch x..y
是从共有的x出发一路一个一个升到y
(x,y]
=================
B
git am *.patch git会自动按文件名一级级升上去的
源地址:
http://yuxu9710108.blog.163.com/blog/static/237515342010111452438837/
- git format-patch经验(转)
- git format-patch
- git format-patch
- git format-patch
- git format-patch 用法
- git format-patch 使用方法
- git format-patch 使用方法
- git format-patch 使用方法
- git format-patch
- git format-patch
- patch/git patch使用经验
- git format-patch origin 生成patch
- linux下git format-patch 生成patch
- git format-patch制作使用patch
- git format-patch 常用方法
- git format-patch 常用方法 .
- git format-patch的使用
- [转]使用git-am合并git format-patch生成的一系列的patch
- 性能测试学习流程
- 有理想的程序员必须知道的15件事
- 1433口令提权的详细过程
- 關于測試的几篇小文章
- [转]XML验证大全备忘录
- git format-patch经验(转)
- 自动化测试规范小结
- session+list
- SQL高级注入使用之储存过程
- Android Eclipse关联 android API doc文档
- Android2.3在Ubuntu9.10(32bit)上的编译
- 结构体对齐
- 解决下约瑟夫环问题
- 粗糙集的概念(转)