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

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

    GIT defaults to english if it cannot find the Locale language.

    So if you want GIT to be in english, just sabotage the language file that it is running with. In my case it was always running with german (ie: de.msg).

    If I deleted it or renamed the it, then it defaulted to english.

    enter image description here

    Here I renamed the file

    enter image description here

提交回复
热议问题