当我这样做 混帐状态
# On branch inline
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# "\357\275\236"
# nothing added to commit but untracked files present (use "git add" to track)
但是,当我执行 ls -al
时,我没有看到任何类似 \357\275\236
的东西
最佳答案
您的文件名中可能包含 UTF-8 字符。运行
git config core.quotepath false
更改 git 的行为并向您显示操作系统可能向您显示的文件名。
这是一个workaround to deal with Mac OS X HFS+ UTF-8 encoded files and git !这个问题的答案也有很好的解释。
关于git - 删除一个看起来像 "\357\275\236"的文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6737165/