git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git merge - "both added" conflict resolution
@ 2010-08-04 20:18 Eugene Sajine
  2010-08-04 20:59 ` Jonathan Nieder
  0 siblings, 1 reply; 6+ messages in thread
From: Eugene Sajine @ 2010-08-04 20:18 UTC (permalink / raw)
  To: git

hi,

I'm trying to merge two projects into one. Both are having different
and simple set of files inside, but both have build.xml file.
Let's say i have source repo with master branch and dest repo.

When i'm trying to merge source into dest it all goes well with an
exception of the build.xml file - it has conflict. The conflict is one
liner and is easy to resolve, eventually i want it to be as it was
before the merge.
First of all, after the merge git status gives me message "both added;
build.xml" not both modified, which is understandable, but i have no
clue yet how to work with it;)

Secondly, when i resolve the conflict the build.xml returns to its
last committed state of dest repo, so git cannot determine any
changes.
Therefore, i cannot execute git add for this file and i cannot commit
my merge results, because git sees it as a partial commit.

Any ideas?

Thanks,
Eugene

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-08-06 14:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-04 20:18 git merge - "both added" conflict resolution Eugene Sajine
2010-08-04 20:59 ` Jonathan Nieder
2010-08-04 23:29   ` Eugene Sajine
2010-08-04 23:36     ` Jonathan Nieder
2010-08-05 14:41       ` Eugene Sajine
2010-08-06 14:57         ` Eugene Sajine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).