Git 提交界面中文乱码解决


之前代码使用命令行设置代码提交的时候一直会出现中文乱码问题:

仔细查看后发现是UTF-8编码在git 默认的配置上不能正常显示

# 设置
# status编码
git config --global core.quotepath false
# gui编码
git config --global gui.encoding utf-8
# commit 编码
git config --global i18n.commit.encoding utf-8
# log 编码
git config --global i18n.logoutputencoding utf-8


免责声明!

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



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