Git: Shelving changes and bringing them back later

To stash minor changes away on the shelf for later retrieval, use:

git stash

To display a list of changes you've got on the shelf, use:

git stash list

And to retrieve the changes, use:

git stash apply #

Where # is the ID of the change you want to retrieve.

[ Source - git manual ]

 
Copyright © Twig's Tech Tips
Theme by BloggerThemes & TopWPThemes Sponsored by iBlogtoBlog