Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要删除 BitBucket 中的 2 个文件夹:
我使用了命令: git rm folder1 folder2
git rm folder1 folder2
并得到错误:
致命:在没有 -r 的情况下不递归删除“folder1”
更改git rm folder1 folder2为git rm -r folder1 folder2删除目录。
git rm -r folder1 folder2
git rm --help
-r Allow recursive removal when a leading directory name is given.
-r
Allow recursive removal when a leading directory name is given.