Remove untracked files from the working tree.
More information.
- Delete files that are not tracked by Git:
- Interactively delete files that are not tracked by Git:
- Show what files would be deleted without actually deleting them:
- Forcefully delete files that are not tracked by Git:
- Forcefully delete directories that are not tracked by Git:
- Delete untracked files, including ignored files in `.gitignore` and `.git/info/exclude`:
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY
Mastodon