DA.
DA.

Reputation: 40673

Finding GIT STASH from previous branch?

The scenario:

Here's where I screwed up

It didn't. It took the stashed files from Branch B and applied it to Branch A.

Is there any way to back out of this and get the changes I originally stashed while in Branch A? Or are they gone?

Upvotes: 1

Views: 128

Answers (1)

Romain Valeri
Romain Valeri

Reputation: 21918

You can re-stash the changes you just applied (git stash) then find in the stash list (git stash list) the one you need, then git stash pop <stashRefYouSpottedEarlier> to finish the process.

Upvotes: 1

Related Questions