threads / discuss / 10234

git stash clear

Subject: git stash clear

## tl;dr

2 messages between Oct 10, 2007 and Oct 10, 2007.

replies: 1people: 1as markdown or json

Eric Davis· Oct 10, 2007, 16:42 UTC · lore
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

← back to recent threads