home

back

Git Stash Specific Files

March 15, 2021

To stash specific files, and not all changed files do the following:

  1. Stage the files you don’t want to stash
  2. Run git stash save --keep-index

Marcus Lyons