Git: Removing Untracked Files
git clean -fdx
-f - force
-d - include directories
-x - include ignored files
!Use with Caution!
This command will delete files that you haven’t thought of. Be careful whenever
running a command with -f
git clean -fdx
-f - force
-d - include directories
-x - include ignored files
!Use with Caution!
This command will delete files that you haven’t thought of. Be careful whenever
running a command with -f