Cgywin Git
Let git show English message and handle Chinese pathname correctly.
Open Cygwin, select option->text->locale character
, set zh_CN, GBK
.
Add export LC_MESSAGES="en_US.UTF-8"
to .bashrc.
For the meaning of LC_MESSAGES, refer to:
- Why “LANG=C”? (not D or E or F)
- C library function - setlocale()
man 3 setlocale