I tried doing
git diff 13.1_dev sale_edit > patch.diff
Then I tried doing git apply patch.diff
in another branch, but I got pa
Try a:
git apply --ignore-space-change --ignore-whitespace patch.diff
As mentioned in "git: patch does not apply", this can be caused by:
core.eol
in .gitattributes
file is a good approach (see "git force file encoding on commit")x
').git config core.filemode false
, followed by a git reset --hard HEAD
(make sure you don't have uncommitted changes, or they would be lost).