Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
29
rated 0 times [  29] [ 0]  / answers: 1 / hits: 26364  / 2 Years ago, mon, may 9, 2022, 4:16:09

My locale is German. LANG=de_DE.UTF-8. I would like to keep it.



Is it possible to change git's language to English without changing the locale?


More From » language

 Answers
3

You can add alias to you .bashrc or .bash_profile



alias git='LANG=en_US.UTF-8 git'


If LANG doesn't work, try LC_ALL or LANGUAGE


[#30307] Monday, May 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
riffnkful

Total Points: 390
Total Questions: 123
Total Answers: 110

Location: Puerto Rico
Member since Sat, Mar 13, 2021
3 Years ago
riffnkful questions
Thu, Nov 17, 22, 04:24, 1 Year ago
Mon, Nov 28, 22, 01:40, 1 Year ago
Mon, Jul 11, 22, 13:24, 2 Years ago
Sun, Feb 5, 23, 05:06, 1 Year ago
;