Git Bash 无法输入中文
场景重现
有个小伙伴的电脑上 Git Bash 里死活无法输入中文, 导致 git 提交信息没法用中文写...
git commit -m "无法输入中文"
解决办法
-
在 Git Bash 中右键 - Options
-
选择Text - 设置字符集为
UTF-8
即可
[支持/订阅](https://afdian.com/a/taadis)作者,以获得更多服务.
有个小伙伴的电脑上 Git Bash 里死活无法输入中文, 导致 git 提交信息没法用中文写...
git commit -m "无法输入中文"
在 Git Bash 中右键 - Options
选择Text - 设置字符集为UTF-8
即可
扫码关注我