git 提交代码是会遇到如下问题,php
git commit 代码时提示: Warning: Your console font probably doesn‘t support Unicode. If you experience trange characters in the output, consider switching to a TrueType font such as ucida Console!html
这是代码中含有中文致使的,且把代码改成utf-8也是解决不了的,查询了不少资料,最后终于解决啦,现分享给你们:git
依次执行如下命令:github
git config [--global] core.quotepath offapp
git config [--global] --unset i18n.logoutputencodingide
git config [--global] --unset i18n.commitencodingui
再次git commit和git push应该就不会弹出这个note了。url
若是还有哪里不清楚的,能够查看github官网上边的解决办法:spa
https://github.com/msysgit/msysgit/wiki/Git-for-Windows-Unicode-Support3d