hello-world icon indicating copy to clipboard operation
hello-world copied to clipboard

Mac环境下git命令行中文乱码?

Open downgoon opened this issue 6 years ago • 0 comments

解决办法

  1. 设置Git配置项
git config --global core.quotepath false

或者 在.gitconfig配置文件中增加

[core]
    quotepath = false
  1. oh-my-zsh配置中文

编辑 ~/.zshrc ,增加如下:

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

downgoon avatar Apr 12 '19 10:04 downgoon