Skip to contentSkip to conversation

git stash clear

DISCUSSION Eric Davis 1 participant 2 messages Jun 15, 2016

lore
Share & tools
lore

Eric Davis

author
#0 lore raw

Hey Everyone,

I have a problem that happened when using git stash.

I was working on a branch and applied a stash to it. There were no conflicts. I figured I was done with the stuff in stash, so I did a git stash clear. Not good. It also reverted my branch to before I did the stash apply and now I have none of the changes because the stash is also gone. Is this by design? If so, why?

Is there anyway to get this stash back?

Thanks,
Eric

author
#1 lore raw

Disregard, It was user error. Sorry.

Thanks,
Eric