threads / discuss / 44759

Feature request: git rebase --no-edit --continue

Subject: Feature request: git rebase --no-edit --continue

## tl;dr

4 messages between Dec 22, 2016 and Dec 22, 2016.

replies: 3people: 3as markdown or json

Daniel Chumak· Dec 22, 2016, 22:35 UTC · lore

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.

Stefan Beller· Dec 22, 2016, 22:38 UTC · re: Daniel Chumak · lore

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

Johannes Schindelin· Dec 22, 2016, 23:07 UTC · re: Daniel Chumak · lore

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

Daniel Chumak· Dec 22, 2016, 23:22 UTC · re: Johannes Schindelin · lore

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.

← back to recent threads