敲这两行就可以了: git config --global i18n.commitencoding utf-8git config --global i18n.logoutputencoding gbk 相关文章: