修改gitconf ( C:\Program Files\Git\mingw64\etc\gitconfig ) 在末尾加上如下配置: [gui] encoding = utf-8 [i18n] commitencoding = utf-8