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

git 提取patch的方法

时间:2014-12-03 12:33:24      阅读:258      评论:0      收藏:0      [点我收藏+]

标签:git   patch   sha   format-patch   


git format-patch -M master    //当前分支所有超前master的提交

git format-patch -s SHA值  //此SHA值提交以后的所有PATCH

git format-patch -1 SHA值 //此SHA值的提交patch

git format-patch -n //从master售前n个提交的内容

git format-patch -n SHA值 //从SHA值开始(含SHA值当次)之前的N次提交

git 提取patch的方法

标签:git   patch   sha   format-patch   

原文地址:http://blog.csdn.net/silence_cdsn/article/details/41693925

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