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