Skip to contentSkip to conversation

git rebase --preserve-merges

man bug? Constantine Plotnikov 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

The man page for git rebase mentions "--preserve-merges" command line option but this option does not seems to be available.

Also if this option is specified, the following usage statement is printed:

Usage: git rebase [--interactive | -i] [-v] [--onto <newbase>] <upstream> [<branch>]

And this usage statement does not mention -m and -s options that seems to be available. I assume that the problem is the obsolete documentation.

Regards,
Constantine

#1 lore raw
Quoted 12 lines · Constantine Plotnikov

The man page for git rebase mentions "--preserve-merges" command line option but this option does not seems to be available.

Also if this option is specified, the following usage statement is printed:

Usage: git rebase [--interactive | -i] [-v] [--onto <newbase>] <upstream> [<branch>]

And this usage statement does not mention -m and -s options that seems to be available. I assume that the problem is the obsolete documentation.

You're probably using an old git where merge-preserving rebase is only available for interactive mode. Check the man-page again, and thoroughly this time ;-)

Signature · 3 lines
Andreas Ericsson                   [email protected]
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231