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
I had this error, was able to overcome it by using : patch -p1 < example.patch
patch -p1 < example.patch
I took it from here: https://www.drupal.org/node/1129120