Is there a reason why there is no '--no-edit' option for git rebase? I would like to use this option after editing a commit and continuing the current interactive rebase without having to change the commit message.
threads / discuss / 44759
Feature request: git rebase --no-edit --continue
Subject: Feature request: git rebase --no-edit --continue
Re: Feature request: git rebase --no-edit --continue
On Thu, Dec 22, 2016 at 2:35 PM, Daniel Chumak <chumak.daniel.dev@gmail.com> wrote:
> Is there a reason why there is no '--no-edit' option for git rebase?
Nobody added it so far.
> I would > like to use this option after editing a commit and continuing the current > interactive rebase without having to change the commit message. >
You're welcome to write a patch for it. :)
On the other hand you could just use EDITOR=true git rebase --continue
Re: Feature request: git rebase --no-edit --continue
Hi Daniel,
On Thu, 22 Dec 2016, Daniel Chumak wrote:
> Is there a reason why there is no '--no-edit' option for git rebase? I would > like to use this option after editing a commit and continuing the current > interactive rebase without having to change the commit message.
Why not
git commit -C HEAD && git rebase --continue
?
Ciao, Johannes
Re: Feature request: git rebase --no-edit --continue
Uff, I forgot about the CC of my last reply.
Show 9 quoted lines
> > Why not > > git commit -C HEAD && git rebase --continue > > ? > > Ciao, > Johannes
Thanks this is a cleaner solution. I guess because I was too fixed upon knowing of the existence of the no-edit option from other git commands that I forget about this, even though I am using it quite often.