码迷,mamicode.com
首页 > 其他好文 > 详细

用git difff 生成补丁

时间:2015-12-01 09:40:38      阅读:150      评论:0      收藏:0      [点我收藏+]

标签:

http://stackoverflow.com/questions/1191282/how-to-see-the-changes-between-two-commits-without-commits-in-between

you can simply pass the 2 commits to git diff like :

-> git diff 0da94be  59ff30c > my.patch
-> git apply my.patch

 

用git difff 生成补丁

标签:

原文地址:http://www.cnblogs.com/chucklu/p/5009138.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!