emacs-devel
[Top][All Lists]
Advanced

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

Re: Amending commits


From: Rudolf Schlatte
Subject: Re: Amending commits
Date: Mon, 26 Sep 2022 18:35:02 +0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> Yes.  My use case is "git am" and then I want to add the bug# to the
>>> commit message -- and in that case, I don't have a log-edit buffer at
>>> all.
>>
>> Can't you set vc-checkin-switches to "--amend" and then commit?
>
> I'm not sure what you mean.  How would that help with "git am"?

FWIW, after you apply a series of patches via `git am', you can use `git
rebase -i' (interactive rebase) to bulk-edit commit messages, among
other things.  (Writing this just in case you or another reader didn't
know this yet.)




reply via email to

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