git stash
authorPhilip Durbin <philipdurbin@gmail.com>
Fri, 10 May 2013 13:57:38 +0000 (09:57 -0400)
committerPhilip Durbin <philipdurbin@gmail.com>
Fri, 10 May 2013 13:57:38 +0000 (09:57 -0400)
git.mdwn

index eb275f764f3704529dc7c5c76cee90beba259500..8cbf3f06e317a9b51f304a29b0851e9b9c821c19 100644 (file)
--- a/git.mdwn
+++ b/git.mdwn
 
 See also http://stackoverflow.com/questions/2405305/git-how-to-tell-if-a-file-is-git-tracked-by-shell-exit-code
 
+### How to use git stash
+
+Undo your changes, show your stashes, and re-apply them
+
+    git stash
+    git stash list
+    git stash apply
+
+http://git-scm.com/book/en/Git-Tools-Stashing
+
 ### Fix your email address in your commits
 
 https://help.github.com/articles/changing-author-info