Skip to content

Instantly share code, notes, and snippets.

@carnivore
carnivore / gist:997001
Created May 28, 2011 16:20
How to Git Stash
# Sometimes you want to patch in some changes while you're working,
# but you don't want to make a commit. In this case, use git stash.
# Stash your work (any will do)
$ git stash save
$ git stash
# Do your magic
# See what you got