现象 git diff后中文显示乱码 修复方法 由于装了oh-my-zsh,修改~/.zshrc export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 执行source $ source ~/.zshrc