今天在新电脑上安装git后出现了乱码。
场景:
在中文情况下 Git status是这样的:
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: "\345\274\200\351\242\230\346\212\245\345\221\212/\345\267\245\347\250\213\347\241\225\345\243\253\347\240\224\347\251\266\347\224\237\345\255\246\344\275\215\350\256\272\346\226\207\345\274\200\351\242\230\346\212\245\345\221\212\342\200\224\346\235\250\345\263\273\351\271\217.doc"
解决方法:
git config --global core.quotepath false
备注:
转载请注明出处:http://blog.csdn.net/wsyw126/article/details/70257025
作者:WSYW126