So a fellow team member, using TortoiseGit in Windows, pulled up his log the other day, and at the top was a commit with a hash entirely of zeroes, no user, and no date, but it did have four modified files and a commit message.
It appears to be a commit from some time ago, but other than that we've no idea.
Is there any way to either correct this commit, or to just remove it, so it's not sitting at the top of his log all the time?
TortoiseGit shows the state of the current working copy with "commit 0000":
I don't know how to explicitly tell TortoiseGit to save a commit message for the next commit, but when a merge fails this space is pre-populated with the merge message, which could give the impression this already is a commit.
So to answer the actual question "how to correct this", just commit the changes ;-).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With