On 17/03/2024 20:42, Matt wrote:
---- On Sun, 17 Mar 2024 11:31:00 +0100 Ihor Radchenko wrote ---
>
> (1) revert the commit; (2) re-apply the
> commit version with the correct author attribution.
Done.
1. git revert <hash-for-specific-commit-needing-modification>
2. make changes (e.g. emacs <file-needing-modification> followed by
*type-type-type* or some incantation of 'git apply' or 'git am')
3. git commit --author "Arthur Author <arthur-author's-email>"
In this particular case "git am" works fine and no explicit "git commit"
is necessary.