git 提取的.patch文件的应用
时间:2014-12-03 12:30:56
收藏:0
阅读:766
一、先检查patch文件:# git apply --stat newpatch.patch
二、检查能否应用成功:# git apply --check newpatch.patch
二、检查能否应用成功:# git apply --check newpatch.patch
三、打补丁:# git am --signoff < newpatch.patch
#git apply newpatch.path
(使用-s或--signoff选项,可以commit信息中加入Signed-off-by信息)
原文:http://blog.csdn.net/silence_cdsn/article/details/41694159
评论(0)