I remember I install git through port install git-core
. And it show Chinese word as default like the followings:
# 位于分支 master
# 您的分支领先 'origin/master' 共 2 个提交。
#
nothing to commit, working directory clean
and
# 位于分支 master
# 您的分支领先 'origin/master' 共 2 个提交。
#
# 尚未暂存以备提交的变更:
# (使用 "git add <file>..." 更新要提交的内容)
# (使用 "git checkout -- <file>..." 丢弃工作区的改动)
#
# 修改: 2.txt
#
no changes added to commit (use "git add" and/or "git commit -a")
I work on mac os with Chinese language, and I want to know how can just change git's language back to English.
Git is a version control system that allows developers to track a project and actively contribute without interfering in each other's work. It supports collaboration within a project and helps prevent miscommunication or code clashing between team members.
Go to Programs > Git and select Git Bash . We'll refer to both Mac's Terminal and Window's Git Bash as just Bash.
You can run Git Bash on Mac, Linux Debian, Linux Fedora, and Windows.
export LC_ALL=en_US.UTF-8
Add it to your .bashrc or .zshrc file
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With