默认情况下git中文以ASCII编码,不方便查看,如下:
1 2 3 4 5 6 7 8 9
| $ git status 位于分支 master
尚无提交
要提交的变更: (使用 "git rm --cached <文件>..." 以取消暂存)
新文件: "source/_posts/Airflow\345\210\235\344\275\223\351\252\214.md"
|
显示正确的中文,执行以下命令:
1
| $ git config --global core.quotepath false
|