git-rm
Verified for current stable LTS
Git Rm Command: Remove Directory Recursively
Use for remove directory recursively with Git Rm. Exact CLI syntax to remove directory recursively using Git Rm.
When to use this: Use for remove directory recursively with Git Rm.
Destructive Command Warning
Destructive operation. Confirm the target path and keep a backup before executing.
Command Syntax
git rm -r <path/to/directory> git rm -r <path/to/directory> Command Breakdown
-r- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to remove directory recursively using Git Rm.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Git Rm Command: Reduce Repository To Git Directory
git rm -r . Git Rm Command: Remove File From Index Keep Locally git rm --cached <path/to/file> Git Rm Command: Remove File From Repository And Filesystem git rm <path/to/file> Git Symbolic Ref Command: Store Reference By Name git symbolic-ref refs/<name> <ref> Git Symbolic Ref Command: Store Reference With Message git symbolic-ref -m "<message>" refs/<name> refs/heads/<branch_name>