How to change git from Chinese to English in mac
if you use fish shell
~/.config/fish/config.fish
set -x LC_ALL en_US.UTF-8
set -x LC_CTYPE en_US.UTF-8
export LC_ALL=en_US.UTF-8
Add it to your .bashrc or .zshrc file
You may try to set LANG
environment variable to en_US.UTF-8
by adding the following line to your your ~/.bash_profile
file:
export LANG=en_US.UTF-8
It helped me to switch my Git language to English on macOS Mojave.