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

前端 未结 8 2006
悲&欢浪女
悲&欢浪女 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:08

    Run LC_MESSAGES=C git, not LC_ALL=C or LANG=C and no need delete or rename files.

    This command change output Git messages to english.

提交回复
热议问题