From: "J. Bruce Fields" <bfields@fieldses.org>
To: Junio C Hamano <junkio@cox.net>
Cc: Marc Singer <elf@buici.com>, git@vger.kernel.org
Subject: Re: Effective difference between git-rebase and git-resolve
Date: Sun, 26 Mar 2006 15:29:28 -0500 [thread overview]
Message-ID: <20060326202927.GA6436@fieldses.org> (raw)
In-Reply-To: <7vacbfxadu.fsf@assigned-by-dhcp.cox.net>
On Fri, Mar 24, 2006 at 11:15:57PM -0800, Junio C Hamano wrote:
> - Patch C does not apply. git-am stops here, with conflicts to
> be resolved in the working tree. Yet-to-be-applied D and E
> are still kept in .dotest/ directory at this point. What the
> user does is exactly the same as fixing up unapplicable patch
> when running git-am:
>
> - Resolve conflict just like any merge conflicts.
> - "git am --resolved --3way" to continue applying the patches.
So, does this sum it up accurately for the man page?
--b.
Document git-rebase behavior on conflicts.
---
Documentation/git-rebase.txt | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
3ef0c8cc7a505f9023a87e7e1ca22251a91bf188
diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
index b36276c..4a7e67a 100644
--- a/Documentation/git-rebase.txt
+++ b/Documentation/git-rebase.txt
@@ -48,6 +48,18 @@ would be:
/
D---E---F---G master
+In case of conflict, git-rebase will stop at the first problematic commit
+and leave conflict markers in the tree. After resolving the conflict manually
+and updating the index with the desired resolution, you can continue the
+rebasing process with
+
+ git am --resolved --3way
+
+Alternatively, you can undo the git-rebase with
+
+ git reset --hard ORIG_HEAD
+ rm -r .dotest
+
OPTIONS
-------
<newbase>::
--
1.2.4.g0382
next prev parent reply other threads:[~2006-03-26 20:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-25 3:54 Effective difference between git-rebase and git-resolve Marc Singer
2006-03-25 4:23 ` Linus Torvalds
2006-03-25 6:08 ` Junio C Hamano
2006-03-25 6:32 ` Marc Singer
2006-03-25 7:15 ` Junio C Hamano
2006-03-26 20:29 ` J. Bruce Fields [this message]
[not found] ` <20060325043507.GA14644@buici.com>
2006-03-25 6:10 ` Junio C Hamano
2006-03-25 9:37 ` Johannes Schindelin
2006-03-25 11:08 ` Mark Wooding
2006-03-25 11:26 ` Johannes Schindelin
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=20060326202927.GA6436@fieldses.org \
--to=bfields@fieldses.org \
--cc=elf@buici.com \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/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 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).