|
From: | Jim Porter |
Subject: | Re: Git snafu |
Date: | Tue, 25 Apr 2023 13:37:39 -0700 |
On 4/25/2023 5:38 AM, Po Lu wrote:
When trying to commit from a brand new machine installed at my organization, I made a mistake. I configured the git username and e-mail as root, and not as my user. So now there is a commit from the default Git username on emacs.git. Is there a way to rectify this mistake?
It won't rectify it, but we could prevent this in the future with a Git hook (and one that's significantly simpler than the one I added for change log entries).
I see that the commit author is "Your Name <you@example.com>". That's easy enough to block; are there any other author addresses that we should forbid? I seem to recall that Git sometimes authors commits as "local-user@local-hostname", which isn't a useful email address for the global internet either.
[Prev in Thread] | Current Thread | [Next in Thread] |