emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: git problems: >78 column commit message created by git revert. I'm s


From: Noam Postavsky
Subject: Re: git problems: >78 column commit message created by git revert. I'm stuck. What do I do?
Date: Wed, 3 Oct 2018 19:41:17 -0400

On Wed, 3 Oct 2018 at 08:56, Alan Mackenzie <address@hidden> wrote:

> I'd like to use git commit --amend, but this can only change one of the
> two commit messages created by git revert.
>
> How can I resolve this mess?

For the record, you can change the messages of multiple previous
commits using rebase:

git rebase --interactive HEAD~2

This will pop up your $EDITOR. Change the occurrences of "pick" into
"reword", then save and exit. You will then be able to edit each
commit message in turn (again, in $EDITOR).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]