Code

Document git-rebase behavior on conflicts.
authorJ. Bruce Fields <bfields@fieldses.org>
Sun, 26 Mar 2006 20:29:28 +0000 (15:29 -0500)
committerJunio C Hamano <junkio@cox.net>
Mon, 27 Mar 2006 03:07:43 +0000 (19:07 -0800)
Documentation/git-rebase.txt

index b36276c7ed8dbb837cedfa833620fb843de89d90..4a7e67a4d2241a82a564734d64789e6ee13c8330 100644 (file)
@@ -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>::