git 中文编码显示

创建日期: 2024-07-01 15:30 | 作者: 风波 | 浏览次数: 21 | 分类: Git
git config --global i18n.commitencoding utf-8
git config --global i18n.logoutputencoding utf-8
export LESSCHARSET=utf-8

git config --global i18n.commitencoding utf-8 --注释:该命令表示提交命令的时候使用utf-8编码集提交

git config --global i18n.logoutputencoding utf-8 --注释:该命令表示日志输出时使用utf-8编码集显示

export LESSCHARSET=utf-8 --注释:设置LESS字符集为utf-8

21 浏览
14 爬虫
0 评论