将命令行中的git提示语言改为英文

175 阅读1分钟
bash中
vim ~/.bash_profile
添加
alias git='LANG=en_GB git'
执行
source ~/.bash_profile
zsh中
vim ~/.zshrc
添加
alias git='LANG=en_GB git'
执行
source ~/.zshrc

参考文章:blog.csdn.net/michael_wgy…