# [man bug?] git rebase --preserve-merges

2 messages from 2008-12-02 to 2008-12-03. Participants: Constantine Plotnikov, Andreas Ericsson.
Thread: https://gitlist.dev/t/16561

## Constantine Plotnikov, 2008-12-02 16:45

Subject: [man bug?] git rebase --preserve-merges
Message-ID: <85647ef50812020845g7de701bbye4a43a4e992a264b@mail.gmail.com>
URL: https://gitlist.dev/e/85647ef50812020845g7de701bbye4a43a4e992a264b%40mail.gmail.com

```
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

```

## Andreas Ericsson, 2008-12-03 07:43

Subject: Re: [man bug?] git rebase --preserve-merges
Message-ID: <4936389C.9090904@op5.se>
URL: https://gitlist.dev/e/4936389C.9090904%40op5.se
In-Reply-To: <85647ef50812020845g7de701bbye4a43a4e992a264b@mail.gmail.com>

```
Constantine Plotnikov wrote:
> 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 ;-)

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

```
