search

Home  >  Q&A  >  body text

git-bash - windows上Git bash 查看log乱码

问题如下图所示:

已尝试
http://tiankonguse.com/blog/?p=117
所用的方法,无法解决~~~

伊谢尔伦伊谢尔伦2843 days ago575

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-04-28 09:08:06

    Terminal input:

    git config --global i18n.commitencoding utf-8
    git config --global i18n.logoutputencoding gbk

    reply
    0
  • 为情所困

    为情所困2017-04-28 09:08:06

    Enter in Bash:

    git config --global i18n.commitencoding utf-8
    git config --global i18n.logoutputencoding gbk
    export LESSCHARSET=utf-8
    

    The one upstairs should be missing a sentence

    Related links:
    /blog/tony/1190000000578037
    http://howiefh.github.io/2014/10/11/git-encoding/

    reply
    0
  • Cancelreply