2/23/2017 - 8:17 AM

Stash options

git stash list

git stash drop // removes latest stash

git stash drop stash@{0} // remove only given one

git stash save -u 'Description of my changes' // stash changes under name, including untracked files

git stash apply stash@{0}

git stash pop stash@{0} // apply given stash and removes it

git stash show -p // see diff with latest stash

git stash show -p stash@{1} see diff with selected stash