From: Eugene Sajine Date: Thu, 05 Aug 2010 14:41:03 GMT Subject: Re: git merge - "both added" conflict resolution Message-ID: In-Reply-To: <20100804233652.GB3595@burratino> On Wed, Aug 4, 2010 at 7:36 PM, Jonathan Nieder wrote: > Eugene Sajine wrote: > >> So, I'm removing all conflict markers and removing the incoming line >> with the property value=projectOne leaving it as projectTwo. >> This effectively means that there is no changes in build.xml for git. >> And I'm stuck because i cannot add file, that is not changed > > Sorry I wasn’t clear before.  Could you give output from attempting > to add the file?  It is supposed to work. > There is no output after I add build.xml with resolved conflicts. When i do git status build.xml doesn't show up there. I tried another way: After i have a conflict i add the build.xml withtout resolving conflicts. Then I unstage it - it's status changes from "both added: " to "modified" Then i can resolve the conflict, which means build.xml returns to it's last committed state. But then i'm back to square one as build.xml is not showing in changes, so i cannot add it and i still cannot commit because of partial commit. Thanks, Eugene