X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=Documentation%2Fgit-rebase.txt;h=ca5e1e8653be7a1d2b0911ec572ff0a85300ebb9;hb=47344eee9b980a7cf2a08d040ff3dd38c6cd82ec;hp=33e0ef1f6d48c22eddb2b1a7273065a4269924ae;hpb=92396402e2d547f8805dc24db53a4c725796810e;p=git.git diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt index 33e0ef1f6..ca5e1e865 100644 --- a/Documentation/git-rebase.txt +++ b/Documentation/git-rebase.txt @@ -228,13 +228,23 @@ OPTIONS Use merging strategies to rebase. When the recursive (default) merge strategy is used, this allows rebase to be aware of renames on the upstream side. ++ +Note that a rebase merge works by replaying each commit from the working +branch on top of the branch. Because of this, when a merge +conflict happens, the side reported as 'ours' is the so-far rebased +series, starting with , and 'theirs' is the working branch. In +other words, the sides are swapped. -s :: --strategy=:: Use the given merge strategy. - If there is no `-s` option, a built-in list of strategies - is used instead ('git-merge-recursive' when merging a single - head, 'git-merge-octopus' otherwise). This implies --merge. + If there is no `-s` option 'git-merge-recursive' is used + instead. This implies --merge. ++ +Because 'git-rebase' replays each commit from the working branch +on top of the branch using the given strategy, using +the 'ours' strategy simply discards all patches from the , +which makes little sense. -q:: --quiet::