As per [git docs](https://git-scm.com/docs/git-stash#Documentation/git-stash.txt-Savingunrelatedchangesforfutureuse) `git stash push --staged -m "Stashed Stuff"` Allows for stashing selected lines/hunks instead of whole files.