1. I am a Windows user. I installed Gvim the morning before yesterday and wanted to learn it. But when I submitted the code after get off work at night, I found that the Chinese characters in git had become garbled. After looking at the configuration online for a long time, there was no solution. I reinstalled Git today and the problem remains the same. The error reporting interface is as follows:
Who knows how to solve it? ? ?
You can delete the problematic objects and try to find out if there are undamaged files in other commits, but won’t this be troublesome? Is there a remote warehouse? Clone again.
It is recommended to refer to this article: See how foreign developers check and restore damaged git data files. I hope it will be helpful to you.