Perform a “dry run” that will show you what files and directories will be deleted:
git clean -d -n
Once you are sure to delete the untracked files and directories:
git clean -d -f
Perform a “dry run” that will show you what files and directories will be deleted:
git clean -d -n
Once you are sure to delete the untracked files and directories:
git clean -d -f