{"thread":{"id":"10452","subject":"Recover a stash","startedAt":"2007-10-24T17:26:06Z","lastAt":"2007-10-24T17:42:23Z","messageCount":2,"participants":["Medve Emilian-EMMEDVE1","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"57086","messageId":"598D5675D34BE349929AF5EDE9B03E27016E5841@az33exm24.fsl.freescale.net","threadId":"10452","inReplyTo":null,"subject":"Recover a stash","fromName":"Medve Emilian-EMMEDVE1","fromEmail":"emilian.medve@freescale.com","sentAt":"2007-10-24T17:26:06Z","receivedAt":"2007-10-24T17:26:06Z","isPatch":false,"sender":{"key":"emilian.medve@freescale.com","avatar":null},"body":"Hello,\n\n\nIs there any way to recover a stash as a... stash? I accidently removed\na stash I still need and I'd like to recover it as a stash. I can see\nthe dangling commit objects in the database with git lost-found and I\ncan have a branch/head point at them, but it's not understood as stash\nanymore.\n\n\nThank you,\nEmil.\n"},{"id":"57087","messageId":"Pine.LNX.4.64.0710241841080.25221@racer.site","threadId":"10452","inReplyTo":"598D5675D34BE349929AF5EDE9B03E27016E5841@az33exm24.fsl.freescale.net","subject":"Re: Recover a stash","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2007-10-24T17:42:23Z","receivedAt":"2007-10-24T17:42:23Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Wed, 24 Oct 2007, Medve Emilian-EMMEDVE1 wrote:\n\n> Is there any way to recover a stash as a... stash? I accidently removed \n> a stash I still need and I'd like to recover it as a stash. I can see \n> the dangling commit objects in the database with git lost-found and I \n> can have a branch/head point at them, but it's not understood as stash \n> anymore.\n\nYou should be able to recover it with\n\n\tgit update-ref refs/stash <commit>\n\nWhere the <commit> points to the merge commit of the stashed index and the \nstashed working directory.\n\nHth,\nDscho\n"}]}