#请问commit 后面的尖括号是什么意思,请指点一二,感谢#
3条回答 默认 最新
关注
是你进行提交commit的时候字符编码和git解析的decode编码不一致造成的,
解决办法如下:
第一步:打开你的终端,依次输入以下命令:
$ git config --global core.quotepath false # 设置 git status utf-8编码 $ git config --global gui.encoding utf-8 # 设置Git GUI界面utf-8编码 $ git config --global i18n.commit.encoding utf-8 #设置commit信息utf-8编码 $ git config --global i18n.logoutputencoding utf-8 # 设置输出 log utf-8 编码
第二步:新建系统环境变量
LESSCHARSET
并设置为utf-8
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报 编辑记录