1、git status的时候显示中文文件名不乱码

#不对0x80以上的字符进行quote,解决git status/commit时中文文件名乱码
git config --global core.quotepath false

2、ls显示中文文件名

C:\Program Files\Git\etc\git-completion.bash:
alias ls='ls --show-control-chars --color=auto'

说明:使得在 Git Bash 中输入 ls 命令,可以正常显示中文文件名。

搭建博客:
​​​http://xstarcd.github.io/wiki/shell/create_wiki_on_github.html​

参考文章:
​​​http://howiefh.github.io/2014/10/11/git-encoding/​