Re: Non-interactively rewording commit messages
- From
Carlo Marcelo Arenas Belón <carenas@gmail.com>
- Date
- Jun 30, 2022, 17:32 UTC
- Message-ID
- <20220630173211.pnliwplmimcaygny@carlos-mbp-2.lan>
- In-Reply-To
- <20220630152757.yxwhijvj5xoosrws@meerkat.local>
On Thu, Jun 30, 2022 at 11:27:57AM -0400, Konstantin Ryabitsev wrote:
> just need a sane strategy for non-interactively rewriting > entire commit messages at arbitrary points in the recent history.
assuming you are still doing it by calling (albeit programmatically):
rebase --autosquash -i
then you could prepare the new message by also programmatically doing a `git commit --fixup reword:<commit>` IMHO
Carlo