Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • 4
    What if those are the files I have not been working on? Should I then still add them? What is the best way to deal with it? Commented Jun 19, 2013 at 12:50
  • 2
    I had to do this for a file that was deleted in a branch that I was merging into the current branch. Git flagged it as a conflict, so I had to delete the file locally then git add the_file in order to commit the merge. Commented Sep 15, 2016 at 23:14
  • how to find list of conflicts? Commented Aug 8, 2018 at 17:32
  • 33
    git status will show you the files that have conflicts Commented Aug 8, 2018 at 18:03
  • 1
    @jonnystoten thanks for your comment! I used git status and found a file that said both deleted. WebStorm UI didn't show the problem, just said it couldn't commit a merge. Resolved! Commented Mar 28, 2019 at 8:45