Re: Undo a git stash clear
- From
Matthieu Moy <matthieu.moy@imag.fr>
- Date
- Dec 16, 2008, 12:20 UTC
- Message-ID
- <vpq1vw81fc8.fsf@bauges.imag.fr>
- In-Reply-To
- <57518fd10812160412j1edc2ea0mff732825f1f6c4a2@mail.gmail.com>
"Jonathan del Strother" <maillist@steelskies.com> writes:
Show 10 quoted lines
> On Tue, Dec 16, 2008 at 12:07 PM, Alexander Gladysh <agladysh@gmail.com> wrote: >> Hi, list! >> >> I've stashed some valuable changes and then I accidentally did git >> stash clear. (Yes, today is not my day). >> >> Is it possible to restore stashed changes? > > I ran into this exact problem on Friday. Some helpful person on IRC > suggested using
(and the obvious advice before anything else : don't "git gc", don't "git prune", and if possible back-up the repository before anything else)
-- Matthieu