此命令在Windows上似乎不起作用。当我输入命令在Windows上运行git rm -r --cached
git rm -r --cached.
这是我得到
usage: git rm [<options>] [--] <file>...
-n, --dry-run dry run
-q, --quiet do not list removed files
--cached only remove from the index
-f, --force override the up-to-date check
-r allow recursive removal
--ignore-unmatch exit with a zero status even if nothing matched
帮助?
你忘了在'--cached'和'.'之间放一个空格吗? – melpomene