1.git bash的乱码打开git bash后,对窗口右键->Options->Text->Locale改为zh_CN,Character set改为UTF-8关闭再打开就可以啦,输出中文字符,中文路径都没有问题了
2.git commit的乱码$ git config –global core.quotepath false或者手动更改配置文件~/.gitconfig,编辑添加如下内容即可:[core] quotepath = false