0

I pulled latest remote master branch into my private branch but the automatic merge failed and there were conflicts I tried resolving them by accepting the changes from master branch with the command git checkout --theirs <filename> but it is throwing an error : pathspec 'filename' did not match any file(s) known to git. How do I resolve this?

Abhist
  • 43
  • 1
  • 6

1 Answers1

0

You should issue the command git status to know the right relative path of each file to pass to the git checkout --theirs -- <FILE_NAMES_LIST>.

Antonio Petricca
  • 8,891
  • 5
  • 36
  • 74