Re: Rebase options via git pull
- From
Alex Henrie <alexhenrie24@gmail.com>
- Date
- May 14, 2021, 01:01 UTC
- Message-ID
- <CAMMLpeSaJ-tr64qMATJOodBa=jtSvN0+AdDWpGxPG09XwSfvEA@mail.gmail.com>
- In-Reply-To
- <YJ3LJ++lsAuSkCUJ@danh.dev>
On Thu, May 13, 2021 at 6:58 PM Đoàn Trần Công Danh <congdanhqx@gmail.com> wrote:
Show 26 quoted lines
> > On 2021-05-13 18:49:03-0600, Alex Henrie <alexhenrie24@gmail.com> wrote: > > On Thu, May 13, 2021 at 7:23 AM Sergey Organov <sorganov@gmail.com> wrote: > > > > > > Hello, > > > > > > Is there a way to specify additional options for "git rebase" when it's > > > invoked via: > > > > > > git pull --rebase > > > > > > ? What if rebase is used implicitly due to "pull.rebase" being set > > > accordingly? > > > > > > In particular, I'd like to be able to: > > > > > > git pull --rebase --no-fork-point > > > > > > but it doesn't work. > > > > It would be cumbersome, but you could run `git config rebase.forkPoint > > false` before pulling and `git config rebase.forkPoint true` after. > > Or, for this *specific* case: > > git -c rebase.forkpoint=false pull --rebase
I forgot that you can do that. Thanks for the better answer!
-Alex