Stashing in Git
The Below are the basic commands along with there description
"git svn rebase" or "git pull")
state
of stashed changes
git stash
git stash savesave your local modifications to a new stash (so you can for example<optional-name>
"git svn rebase" or "git pull")
git stash applyrestore the changes recorded in the stash on top of the current working tree
state
git stash poprestore the changes from the most recent stash, and remove it from the stack
of stashed changes
git stash listlist all current stashes
git stash show <stash-name>show the contents of a stash - accepts all diff args-p
git stash drop [<stash-name>delete the stash]
git stash cleardelete all current stashes
Comments
Post a Comment