From 30ad96e27afb73152d1325b33f72e79960d9604a Mon Sep 17 00:00:00 2001 From: Jibran Kalia Date: Thu, 5 Jul 2018 14:16:35 -0500 Subject: [PATCH] git-clean: add -fd option --- pages/common/git-clean.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/git-clean.md b/pages/common/git-clean.md index 79bc0a535c..6a8d2ccd83 100644 --- a/pages/common/git-clean.md +++ b/pages/common/git-clean.md @@ -18,6 +18,10 @@ `git clean -f` +- Forcefully delete directories that are not tracked by git: + +`git clean -fd` + - Delete untracked files, including ignored files in `.gitignore` and `.git/info/exclude`: `git clean -x`