Skip to content

Instantly share code, notes, and snippets.

@BartlomiejSkwira
Last active December 17, 2015 00:49
Show Gist options
  • Select an option

  • Save BartlomiejSkwira/5524351 to your computer and use it in GitHub Desktop.

Select an option

Save BartlomiejSkwira/5524351 to your computer and use it in GitHub Desktop.
Stash selected files in Git
#git add files that you don't want to stash
git stash --keep-index
#this will stash files that are not added
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment