git 显示中文

git 显示中文

本文地址:blog.lucien.ink/archives/524

默认情况下,git 会对中文进行转译,具体表现如下:

$ git status

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	"\346\265\213\350\257\225\346\226\207\344\273\266"

解决方案

执行 git config --global core.quotepath false 即可。

$ git status

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	测试文件

猜你喜欢

转载自blog.csdn.net/xs18952904/article/details/124395599