Error in running 'git apply'

后端 未结 3 1409
谎友^
谎友^ 2021-02-08 02:26

Can you please tell me how can I resolve the \'patch does not apply\' error when I try to \'git apply-patch\'?

$ git apply 0001-my.patch
error: patch failed:test         


        
3条回答
  •  半阙折子戏
    2021-02-08 03:19

    Well, the patch has information about what should be change to what. If the first what doesn't match file contents, the patch doesn't apply.

提交回复
热议问题