I'm sorry if the solution is trivial, but I'm not a GIT expert and I didn't find anything on the internet.
I stashed some changes, and I'm having hard times at reverting them. Maybe I sent the git stash
command twice, I hope this didn't make me lose everything.
According to this question and official documentation, I've tried the following commands:
git stash pop
And I received:
src/schema/schema-generator2.js: needs merge unable to refresh index
So I tried:
git merge
error: Merging is not possible because you have unmerged files
Then I tried:
git stash apply stash@{0}
unknown option: -encodedCommand
git stash apply
src/schema/schema-generator2.js: needs merge
git stash apply --index
src/schema/schema-generator2.js: needs merge
git stash show -p stash@{0} | git apply -R
git : Too many revisions specified: 'stash@' 'MAA=' 'xml' 'xml' In riga:1 car:1 + git stash show -p stash@{0} | git apply -R + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Too many revisi...A=' 'xml' 'xml':String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError error: unrecognized input
In the above text I wrote as code the message, and as quote the answer. I hope it's clear.
I don't understand what's happening, why nothing works? What can I do to un-stash my changes?