1.美图
# 2.背景
对于上传的中文文件显示乱码,core.quotepath没有设置好
执行 git commit之后如下
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch master
# Your branch is up to date with 'origin/master'.
#
# Changes to be committed:
# modified: "30-020-020-\347\274\226\350\257\221-open jdk 9\347\274\226\350\257\221.md"
3.解决方法
输入
git config --global core.quotepath false
lcc@lcc doc-jvm$ git config --global core.quotepath false
lcc@lcc doc-jvm$ git commit
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch master
# Your branch is ahead of 'origin/master' by 1 commit.
# (use "git push" to publish your local commits)
#
# Changes to be committed:
# modified: 30-020-020-编译-open jdk 9编译.md