til/git/removing-untracked-files.md
2021-08-04 16:21:22 +03:00

178 B

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