How to stash only unstaged changes in Git? September 15, 2022 by Tarik git stash push has an option --keep-index that does exactly what you need. So, run git stash push --keep-index.