git apply 补丁失败的方法:

3,902 阅读1分钟

在git apply x.patch 的过程中,如果出现补丁打不上的情况,用以下方式处理:

  1. git apply PATCH --rejcet
  2. edit you file.
  3. git add file
  4. git am --resolved