Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Delete untracked file or discard unstaged work

git stash save --keep-index [--include-untracked]
git stash drop # deletes the untracked changes
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Delete #untracked #file #discard #unstaged #work
ADD COMMENT
Topic
Name
2+7 =