Stash only unstaged
If you want to stash only parts of your uncommitted changes, the keep-index parameter can be given to the git stash command:
git stash --keep-index
If you want to stash only parts of your uncommitted changes, the keep-index parameter can be given to the git stash command:
git stash --keep-index