其实很简单,只需要在 git 安装目录中的 etc 目录下修改 bash.bashrc 文件。

 

git sh.exe 乱码

 

在该文件头部加入:

export LANG=zh_CN.utf-8
alias ls='ls --show-control-chars --color=auto'

 

 

git sh.exe 乱码

 

相关文章:

  • 2021-11-06
  • 2021-12-18
  • 2021-06-10
  • 2021-07-19
  • 2021-08-20
  • 2022-03-02
  • 2021-09-13
  • 2021-10-14
猜你喜欢
  • 2022-12-23
  • 2021-08-24
  • 2021-12-28
  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
  • 2021-05-15
相关资源
相似解决方案