0

I am facing an issue when applying git patch to a branch. Following command is showing that patch can not be applied but git mergetool is not showing any conflicts

git am -3 < changes.patch

Found something similar at: git am error: "patch does not apply"

Community
  • 1
  • 1
Rakesh Rawat
  • 327
  • 3
  • 14

1 Answers1

1

You can type git status and all the files with the merge conflicts will be with the status of both modified.

Than you can simply edit them with any editor like vi/nano and resolve the conflicts.


You can also add the --reject flag and the rejected parts will be written to a .rej file

CodeWizard
  • 128,036
  • 21
  • 144
  • 167