|
From: | Max Nikulin |
Subject: | Re: How to properly attribute authorship with Git (was Re: [PATCH] lisp/ob-shell.el: Also override explicit-shell-file-name) |
Date: | Sun, 17 Mar 2024 23:26:48 +0700 |
User-agent: | Mozilla Thunderbird |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |