Git解决中文乱码问题


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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM