TIL: Removing untracked files

This commit is contained in:
Asocia 2021-08-04 16:21:22 +03:00
parent d697d97027
commit 3aa7b9817e

View File

@ -0,0 +1,12 @@
You can remove untracked files with `git-clean`.
```
# Show which files will be removed
git clean -nd
# remove the files
git clean -f
# remove interactively
git clean -i
```