git 显示中文
默认情况下,git 会对中文进行转译,具体表现如下:
$ git status
Untracked files:
(use "git add <file>..." to include in what will be committed)
"\346\265\213\350\257\225\346\226\207\344\273\266"
解决方案
执行 git config --global core.quotepath false
即可。
$ git status
Untracked files:
(use "git add <file>..." to include in what will be committed)
测试文件
本文转自: https://blog.lucien.ink/archives/524/
本站仅做收录,版权归原作者所有。