Pages

Thursday, April 12, 2018

find the list of stashes available & view the content of a particular stash

find the list of stashes available & view the content of a particular stash

Whenever we re-base / checkout a branch in git, we may stash the changes and reapply again. There are provisions available in git to see the list of stashes, view a particular stash.

View the list of stash
git stash list

View the content of a particular Stash 
git show -p stash@{3}

No comments:

Post a Comment