Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

reset untracked files

How to remove local untracked files from the current Git branch
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.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reset #untracked #files
ADD COMMENT
Topic
Name
8+2 =