Skip to contentSkip to conversation

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

DISCUSSION Daniel Chumak 3 participants 4 messages Dec 22, 2016

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 1 line · Daniel Chumak

Is there a reason why there is no '--no-edit' option for git rebase?

Nobody added it so far.

Quoted 4 lines

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

#2 lore raw
In reply to Daniel Chumak

Hi Daniel,

Quoted 3 lines · Daniel Chumak

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

#3 lore raw

Uff, I forgot about the CC of my last reply.

Quoted 9 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.