之前代码使用命令行设置代码提交的时候一直会出现中文乱码问题:
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

相关文章:

  • 2021-08-31
  • 2021-11-26
  • 2021-05-14
  • 2021-12-15
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-02
  • 2022-12-23
  • 2021-09-13
  • 2022-12-23
  • 2021-12-18
  • 2022-03-02
  • 2021-09-13
相关资源
相似解决方案