有个小伙伴的电脑上 Git Bash 里死活无法输入中文, 导致 git 提交信息没法用中文写...
git commit -m "无法输入中文"
在 Git Bash 中右键 - Options
选择Text - 设置字符集为UTF-8即可
UTF-8