Post

git 显示中文

默认情况下,git 会对中文进行转译,执行一行命令即可。

git 显示中文

git 显示中文

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

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

1
2
3
4
5
$ 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 即可。

1
2
3
4
5
$ git status

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	测试文件
This post is licensed under CC BY 4.0 by the author.