remove all unstaged files git code example
Example 1: git delete unstaged files
git clean -df
Example 2: git discard unstaged files
git stash save --keep-index --include-untracked
git clean -df
git stash save --keep-index --include-untracked