git add all unstaged files code example
Example 1: git discard unstaged files
git stash save --keep-index --include-untracked
Example 2: git only add modified files
git add --all
git stash save --keep-index --include-untracked
git add --all