windows 10系统
git commit之后输入中文乱码怎么解决
执行这个命令后也没出现和utf-8的配置
git config --global i18n.commitencoding utf-8
D:\project\large-screen\large-screen>git config --global i18n.commitencoding utf-8
D:\project\large-screen\large-screen>git config -l
core.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
rebase.autosquash=true
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
http.sslbackend=openssl
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
:
git config -l
这里已经是utf-8了我git提交的地方在webstorm的terminal里,为什么进入git commit里仍然是乱码的呢?
试下这俩命令都执行下呢?
原来是webstorm,可参考下这个Git17 webstorm中git中文乱码,最底下的 webstorm配置