Git Remove Untracked Files - ItsMyCode
itsmycode.com › git-remove-untracked-filesNov 05, 2021 · How to Remove Untracked Files in Git? Starting with a “Dry Run” Deleting Files with the -f Option If you want to remove untracked files from the working tree in Git, using the git clean command is the best way. The git clean command cleans the working tree by recursively removing the files which are not under version control.