From: Johannes Schneider <mailings@cedarsoft.com>
To: git <git@vger.kernel.org>
Subject: How to resolve conflict: Moved away vs. created new file with same name
Date: Tue, 19 Jan 2010 12:10:32 +0100 [thread overview]
Message-ID: <4B559328.2010206@cedarsoft.com> (raw)
Hi,
I had the following merge problem that I could not solve.
TopicA:
created a directory "client" containing a pom.xml and several source files.
TopicB:
created a directory "client" containing a pom.xml (different file than
the one in TopicA).
Created several subdirectories (client1, client2).
You get the idea? I introduce several different clients and want them to
be stored within one directory. But I did not have this idea when I have
started TopicA.
So I am trying to mimic the change in TopicA:
cd client
mkdir client3
mv pom.xml client3
mv src client3
...commit...
Okay, so far so good. Now I try to merge TopicA and TopicB which fails.
Of course Git doesn't understand that "client/pom.xml" in TopicA and
TopicB are not related.
I want to end with to the file from TopicA ending in
"client/client3/pom.xml" and the file from TopicB in "client/pom.xml".
I don't blame Git for not knowing what I want. I just wanna ask how I
should tell Git what I want? Any hints?
Thanks,
Johannes
next reply other threads:[~2010-01-19 11:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-19 11:10 Johannes Schneider [this message]
2010-01-19 11:55 ` How to resolve conflict: Moved away vs. created new file with same name Johannes Sixt
[not found] ` <4B55C481.90406@cedarsoft.com>
2010-01-19 14:55 ` Johannes Sixt
2010-01-19 16:46 ` Johannes Schneider
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B559328.2010206@cedarsoft.com \
--to=mailings@cedarsoft.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.