Daaang Amy
open main menu

Git: Removing Untracked Files

/ 1 min read

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