Thursday, March 15, 2012

git stash

To save a change without commit. This is to enable checkouts.


git stash save "Your comments"

To see the list of stashed changes.

git stash list

To apply the saved change.

git stash apply

To delete the stashed changes.

git stash clear


Reference : http://book.git-scm.com/4_stashing.html

No comments:

Post a Comment