git-clean
Verified for current stable LTS
Git Clean Command: Dry Run Of Files To Delete
Use for dry run of files to delete with Git Clean. Exact CLI syntax to dry run of files to delete using Git Clean.
When to use this: Use for dry run of files to delete with Git Clean.
Command Syntax
git clean -n git clean -n Command Breakdown
-n- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to dry run of files to delete using Git Clean.
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 Clean Command: Interactively Delete Untracked Files
git clean -i Git Clean Command: Force Delete All Untracked Files git clean -f Git Clean Command: Force Delete Untracked Directories git clean -f -d Git Clean Command: Delete Untracked Files By Path git clean -f -- <path/to/directory> '<*.ext>' Git Clean Command: Exclude Pattern When Deleting Untracked Files git clean -f -e '<*.ext>' -e <path/to/directory>/