对症下药,并不通用。

问题

win10 git bash here执行命令git status -s中文目录/文件乱码:

win10 git bash here执行命令git status -s中文目录/文件乱码解决方案_git

解决

执行如下命令:git bash窗口内

git config core.quotepath false

更改配置项:core.quotepath 为 false,也可加上--global设为全局设置