从 GitHub 下载的 Git for Windows 客户端,使用 Shell 过程中如果路径含有中文会报告一个警告。
Warning: Your console font probably doesn't support Unicode. If you experience strange characters in the output, consider switching to a TrueType font such as Lucida Console!
现将解决方法记录下来:
右键CMD窗口顶部,点击属性后,如图将 CMD 的默认字体换为宋体即可