Git控制台中文乱码

发布时间 2023-04-26 16:47:11作者: QA毛俊

问题

image

解决

git config --global core.quotepath false          # 显示 status 编码 
git config --global gui.encoding utf-8            # 图形界面编码 
git config --global i18n.commit.encoding utf-8    # 处理提交信息编码 
git config --global i18n.logoutputencoding utf-8  # 输出 log 编码