Git cli in Russian after brew upgrade

前端 未结 3 653
迷失自我
迷失自我 2020-12-11 02:38

My git cli switched to russian after brew upgrade. I\'ve tried to find why, or how, but no clue.

$ git --version
git version 2.19.0

How do

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-11 03:17

    A simple workaround is to add the following line to your ~/.bashrc or ~/.zshrc file:

    alias git="LANG=\"en_US.UTF-8\" git"
    

    Then execute source ~/.bashrc (or source ~/.zshrc) and voila :)

提交回复
热议问题