Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git clean

//Remove untracked files
git clean -f

//Remove untracked directories and files
git clean -fd

//Remove untracked ignored files
git clean -fX

//Remove all untracked files 
git clean -fx
 
PREVIOUS NEXT
Tagged: #git #clean
ADD COMMENT
Topic
Name
3+7 =