Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ Idea with Git: when automatic merge crashed, how can I continue to merge manually

I use IntelliJ Idea with Git. When I pull from repository, I get following error:

" ...CONFLICT (content): Merge conflict in server..."

Then pull fails.

Questions are:

  1. Does IntelliJ Idea displays any log of what happend exactly? How do I see it?
  2. How can I continue merge manually from the same point (where it failed)?
like image 769
sunny Avatar asked Jun 21 '12 14:06

sunny


People also ask

How do I continue a merge in git?

After a git merge stops due to conflicts you can conclude the merge by running git merge --continue (see "HOW TO RESOLVE CONFLICTS" section below). Commits, usually other branch heads, to merge into our branch.


1 Answers

Looks like you've got a conflict during merge. Go to the Changes View and see if there are any unmerged files. Then invoke Resolve Conflicts, choose what to take from your changes and theirs, and commit.

You may also want to try Update Project for more intelligent pulling from the tracked branch.

like image 176
LoKi Avatar answered Sep 25 '22 11:09

LoKi