[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.)
- Re: Amending commits, (continued)
- Re: Amending commits, Robert Pluim, 2022/09/27
- Re: Amending commits, Sean Whitton, 2022/09/27
- Re: Amending commits, Lars Ingebrigtsen, 2022/09/27
- Re: Amending commits, Sean Whitton, 2022/09/27
- Re: Amending commits, Lars Ingebrigtsen, 2022/09/27
- Re: Amending commits, Sean Whitton, 2022/09/27
- Re: Amending commits, Lars Ingebrigtsen, 2022/09/28
- Re: Amending commits, Gregory Heytings, 2022/09/27
- Re: Amending commits, Juri Linkov, 2022/09/28
- Re: Amending commits, Sean Whitton, 2022/09/28
- Re: Amending commits,
Rudolf Schlatte <=
Re: Amending commits, Visuwesh, 2022/09/25
Re: Amending commits, Manuel Giraud, 2022/09/25
Re: Amending commits, Gregory Heytings, 2022/09/25
Re: Amending commits, Stefan Monnier, 2022/09/25
Re: Amending commits, Gregory Heytings, 2022/09/25
Re: Amending commits, Dmitry Gutov, 2022/09/25
Re: Amending commits, Gregory Heytings, 2022/09/25