hint: after resolving the conflicts, mark the corrected paths

paullb picture paullb · Jun 11, 2015 · Viewed 38.7k times · Source

git sometimes gives me this message on a conflict (during a revert or cherry pick)

hint: after resolving the conflicts, mark the corrected paths

What does this mean?

Answer

Nick Volynkin picture Nick Volynkin · Jun 11, 2015

This means that you need to explicitly tell Git that you've resolved a conflict at each file or folder (that is path).

Showing the list of yet unresolved conflicts:

git status

Marking a conflict as resolved.

File or all files in a folder should be left and all conflicts are resolved:

git add

File or folder should be removed:

git rm

Next step:

git commit