Get git stash parent commit -


is there way retrieve commit stash created?

when creating stash default command git stash original commit saved in stash message, looks like:

stash@{0}: wip on master: abc123 message of commit. 

however, if git stash save 'a stash message' used, commit not appear in stash list:

stash@{1}: on master: own message 

so how retrieved?

i'd say

git log -1 commitish^ 

e.g.

git log -1 stash@{0}^ 

otherwise,

git log -g --no-walk --parents refs/stash 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -