Git Stash Specific Files
To stash specific files, and not all changed files do the following:
- Stage the files you don’t want to stash
- Run
git stash save --keep-index
To stash specific files, and not all changed files do the following:
git stash save --keep-index