On 4/25/2023 1:37 PM, Jim Porter wrote: > 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). In fact, we can do something even simpler than that: just set the config option "user.useConfigOnly" to true. See attached. Does this look ok to everyone?