Stashing Only Unstaged Changes
If you have both staged and unstaged changes in your project, you can perform a stash on just the unstaged ones by using the -k
flag. The staged changes will be left intact ready for a commit.
h/t Chris Erin
Last updated