我有一个名为 31 Files of - oop
的文件夹。当我尝试运行此命令时:
git rm -rf 31 Files of - oop
我收到这个 fatal error :
fatal: pathspec '31' did not match any files
我需要如何准备带空格的文件夹名称以便在 git 中使用?
最佳答案
这样试试:
git rm -rf "31 Files of -oop"
其中 31 Files of -oop 是你的文件名。
关于git - git 如何处理带空格的文件夹名称,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14053304/