1给msysGit新增配置项(可略)。 Ps:其实没啥用,只是方便后期使用以防出现乱码错误或报错。 $ vi /etc $ vi gitconfig Gitconfig文件中新增如下内容: [gui] Encoding = utf-8 [i18n] Commitencoding = GB2312