首页 > 其他 > 详细

Git解决中文乱码问题

时间:2020-02-13 13:24:33      阅读:57      评论:0      收藏:0      [点我收藏+]

git status 乱码

解决方法:
git config --global core.quotepath false

git commit 乱码

解决方法:
git config --global i18n.commitencoding utf-8

git status 乱码

解决方法:
git config --global i18n.logoutputencoding utf-8

注意:如果是Linux系统,需要设置环境变量 export LESSCHARSET=utf-8

Git解决中文乱码问题

原文:https://www.cnblogs.com/yulongcode/p/12303180.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!