Windows git bash is a lot of garbled, but at last it's solved!
Ya's finally no more toss!
Remember to use Git's latest version before watching the tutorial!
Question one:
Garbled as follows:
"\344\270\212\347\"
Workaround: Enter the following command under Bash
git config--global core.quotepath false
Note: This issue Msys and Cygwin both have
Question two:
It is not garbled, Git status display Chinese file name garbled.
Solve:
Open git Bash and right-click on the title bar to select options. Modify the locale in text to "C", Character set to "UTF-8", and close Git Bash.
Reopen git Bash and the problem disappears.
Note: Cygwin does not have this problem, but the Cygwin below does not open AUTOCRLF, and there is no other place for Windows to optimize, so the preferred or msys (that is, git for Windows).
Question three:
Other strange problems, such as the source tree garbled, or use as set up, Git log or something garbled
Solve:
Git config-e
git config--global-e
After opening the configuration file, remove all i18n settings inside
Note: This problem is because the previous version of Git to solve the garbled need to set i18n, but the new version is set to have a problem, so it is good to clear.
This article is from the "Joseph4tec" blog, make sure to keep this source http://joseph4tec.blog.51cto.com/9646751/1890676
A solution to the garbled problem of git status under Windows