Thread (11 messages) 11 messages, 5 authors, 2016-06-15

Re: Ability to edit message from git rebase --interactive.

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:46:24

Hi,

On Tue, 17 Mar 2009, Olivier Goffart wrote:
I use git in a workflow in wich we often need to edit the message logs 
of some commits. The way we do it is using git rebase -i and choose 
edit.  But then you need to do git commit --amend and git rebase 
--continue, which is error prone and add more useless steps.

The attached patch add a new keyword to git rebase interactive to just 
edit the message log.

I was told on IRC that this has been discussed already not so long ago, 
and looking on the archive[1], all i seen was bikesheeding .  Here is a 
patch :-)
Unfortunately, the implementation is not the problem, but picking the best 
name.  The first letter "m" will be taken in a short while by the "merge" 
command for "rebase -i -p", so "message" is out, sadly.

But the "rephrase" command will be part of the "rebase -i -p" series when 
I will finally be able to submit it.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help