]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-rebase.txt
Merge branch 'pb/request-pull-verify-remote-ref' into maint
[thirdparty/git.git] / Documentation / git-rebase.txt
index f5e6ae3907bae3af8a86ae5c43775f9b39c48e47..5e4e9276479c94e8a73ea4cd72819d50ec7b5e91 100644 (file)
@@ -675,7 +675,8 @@ $ git rebase -i HEAD~5
 
 And move the first patch to the end of the list.
 
-You might want to preserve merges, if you have a history like this:
+You might want to recreate merge commits, e.g. if you have a history
+like this:
 
 ------------------
            X
@@ -689,7 +690,7 @@ Suppose you want to rebase the side branch starting at "A" to "Q". Make
 sure that the current HEAD is "B", and call
 
 -----------------------------
-$ git rebase -i -p --onto Q O
+$ git rebase -i -r --onto Q O
 -----------------------------
 
 Reordering and editing commits usually creates untested intermediate