Git 2 · Undoing changes
Delete untracked files
Remove untracked files and folders.
git clean -fd
Caution: Deleted untracked files are not recoverable. Preview with git clean -nd first.
Git 2 · Undoing changes
Remove untracked files and folders.
git clean -fd
Caution: Deleted untracked files are not recoverable. Preview with git clean -nd first.
Was this page helpful?