Skip to content

Commit 8d8fc65

Browse files
author
Songyu
committed
修改文章git-生成补丁和打补丁文章内容
1 parent 6e34d9e commit 8d8fc65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_posts/2020-05-07-git-生成补丁和打补丁.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ git apply --reject PATH-FILE
4343
git会先将补丁中的未冲突部分,进行合并,然后对于冲突的文件,会生成同目录下,同名的.rej文件,文件中可以查看变动记录
4444
对比文件后,将修改文件提交到暂存区,然后执行
4545
{% highlight github %}
46-
git am PATH-FILE --resolved
46+
git am --continue
4747
{% endhighlight %}
4848
就可以将补丁成功进行应用
4949

0 commit comments

Comments
 (0)