Editing a typo in the message given to "git commit"
- From
- norm@dad.org <norm@dad.org>
- Date
- Aug 21, 2016, 15:19 UTC
- Message-ID
- <201608211519.u7LFJiMR090069@shell1.rawbw.com>
I am learning how to use git. I would like to know:
How can I correct a typo in the message I gave to an old "git commit"? I see that the typo occurs in exactly two files in .git:
.git/logs/refs/heads/master .git/logs/HEAD
/usr/bin/file says that they are both ASCII English text. So I could just hand edit them. But that seems somehow sacrilegious and might break git.
Norman Shapiro