fabianmoronzirfas
fabianmoronzirfas

Reputation: 4121

How to shut off localization in git 1.8

I just updated my git to version 1.8 on OSX 10.8.2 following this tutorial and now git responds partially in my localization. e.g.

$ git status
# Auf Zweig master  
nothing to commit, working directory clean  

How can I shut this off?

Upvotes: 12

Views: 868

Answers (2)

dbr
dbr

Reputation: 169573

You could put the following in your ~/.profile (or ~/.bashrc),

export LANG=en_US

This will apply to all commands that use your locale, not just git

Upvotes: 3

nneonneo
nneonneo

Reputation: 179442

You can use alias to specifically disable localization:

alias git="LANG=en_US git"

Put that in your .profile/.bashrc (or other shell startup script) to make it permanent.

Upvotes: 10

Related Questions