Skip to content

Commit 7401ab9

Browse files
dschogitster
authored andcommitted
docs: say that --rebase=preserve is deprecated
As of Git v2.22.0, the `--preserve-merges` backend of `git rebase` will be officially deprecated in favor of the `--rebase-merges` backend. Consequently, `git pull --rebase=preserve` will also be deprected. State this explicitly. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent db4a3f2 commit 7401ab9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/git-pull.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,9 @@ When set to `merges`, rebase using `git rebase --rebase-merges` so that
112112
the local merge commits are included in the rebase (see
113113
linkgit:git-rebase[1] for details).
114114
+
115-
When set to preserve, rebase with the `--preserve-merges` option passed
116-
to `git rebase` so that locally created merge commits will not be flattened.
115+
When set to `preserve` (deprecated in favor of `merges`), rebase with the
116+
`--preserve-merges` option passed to `git rebase` so that locally created
117+
merge commits will not be flattened.
117118
+
118119
When false, merge the current branch into the upstream branch.
119120
+

0 commit comments

Comments
 (0)