Stash selected files with Git Extensions

Pretty old question, but in the latest version of GIT Extensions, the "Manage Stashes" window accessible from the Commands menu has 2 buttons.

  • Stash All Changes
  • Stash Selected Changes

The second one does the job. Pretty obvious in retrospect.


In command line, you would:

  • add to the index the files you don't want to stash
  • do a git stash save --keep-index, as mention in this answer or this one.

Since issue 479 of GitExtensions, you should be able to do the same, since there should be a checkbox to the stash form which appends '--keep-index' to the 'stash save' command.