Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
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.
I need to remove 2 folders in BitBucket:
I used command: git rm folder1 folder2
git rm folder1 folder2
And got error:
Fatal: not removing "folder1" recursively without -r
git rm -r folder1 folder2
Change git rm folder1 folder2 to git rm -r folder1 folder2 to remove a directory.
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.
Add a comment
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.
git rm -r folder1 folder2.