How does one change the language of the command line interface of Git?

前端 未结 8 2048
悲&欢浪女
悲&欢浪女 2020-12-07 13:27

I’d like to change the language of git (to English) in my Linux installation without changing the language for other programs and couldn’t find the settings. How to do it?

8条回答
  •  渐次进展
    2020-12-07 14:13

    Adding this line solved the problem for me:

    $ more ~/.bash_profile
    export LANG=en_US
    

提交回复
热议问题