I wrote considerable code for a feature and stashed the changes in git.
After that I pushed several changes into the repository and did a git stash and apply multiple times (read over 100 times).
After almost 2 months I now want to retrieve the changes from git stash – but I cant find them no matter what.
Tried several git stash apply
, git stash list
, git stash list -p
. Nothing works. I cant find those old stashed changes.
Wish I had taken a backup instead of trusting git to stash them...sigh...
Can anyone help?
git stash list
show anythinggit show 'stash@{0}'
,git show 'stash@{1}'
etc to find your code. the single quotes are important, because{
is a bash metacharacter.