Last Updated: February 25, 2016
·
401
· nishantmodak

Git Stash

List current stashes

git stash list

Apply a stash

git stash apply stash@{0}

Drop a stash

git stash drop stash@{0}

A stash also acts like a stack. Hence you can also do

git stash pop

Wipe all stashes

git stash clear