git am error: “patch does not apply”

前端 未结 7 2115
醉话见心
醉话见心 2021-01-30 02:01

I am trying to move several commits from one project to the second, similar one, using git.

So I created a patch, containing 5 commits:

git format-patc         


        
7条回答
  •  臣服心动
    2021-01-30 02:40

    I had this error, was able to overcome it by using : patch -p1 < example.patch

    I took it from here: https://www.drupal.org/node/1129120

提交回复
热议问题