Git Clean Remove Untracked F
# Print out the list of files and directories which will be removed (dry run)
git clean -f -x --dry-run
git clean -f -x # To remove ignored and non-ignored file.
Normally, only files unknown to Git are removed, but if the -x option is specified, ignored files are also removed. This can, for example, be useful to remove all build products.