faq汇总


 TL;DR
开发中遇到的零碎问题与解法汇总,比如 git status 里中文文件名乱码怎么解决。
难度 中等
  • vscode git status 中文乱码
git config --global core.quotepath false
PS D:\codeblog> git status .
On branch master
Your branch is ahead of 'gitee/master' by 16 commits.
  (use "git push" to publish your local commits)

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        "vue/css346225231347250213.md"

nothing added to commit but untracked files present (use "git add" to track)
PS D:\codeblog> git config --global core.quotepath false
PS D:\codeblog> git status .
On branch master
Your branch is ahead of 'gitee/master' by 16 commits.
  (use "git push" to publish your local commits)

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        vue/css教程.md

nothing added to commit but untracked files present (use "git add" to track)

文章作者: growdu
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 growdu !
这篇还发到了
今日头条 drafted
  目录