There the trick can help you, not hide, but FWIW:
git add -A git commit -m "this is what called stashing" (create new stash commit) git tag stash (mark the commit with 'stash' tag) git reset HEAD~ (Now go back to where you've left with your working dir intact)
So, now you have a tag attached with a commit, in any case it is impossible to make git stash pop , but you can do things like creating patches or reloading files, etc. from there, your dir working files also remain untouched by the way.
KenIchi Apr 22 '15 at 0:42 2015-04-22 00:42
source share