Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git remove untraked files

# more info here: 
# https://stackoverflow.com/questions/61212/how-to-remove-local-untracked-files-from-the-current-git-working-tree
 
 git clean -fd
 
To remove directories, run git clean -f -d or git clean -fd
To remove ignored files, run git clean -f -X or git clean -fX
To remove ignored and non-ignored files, run git clean -f -x or git clean -fx
 
PREVIOUS NEXT
Tagged: #git #remove #untraked #files
ADD COMMENT
Topic
Name
1+9 =