I'm new to git and I've just done a mistake.
A couple of days ago I did a git stash
.
Let's say that my files were in status A. I kept on working on the files, updating them, without doing any commit.
Today I reached a new status, let's say B. Instead of doing a commit (my bad) I've just done again "git stash
".
I got this message:
"Saved working directory and index state WIP on master: cd8ba5c checkboxes created"
Here I'm confused, does it mean that the WIP has overwritten my last commit?
I was expecting just to save my data and keep on working. But it looks like the status has changed, and I lost part of my work.
I followed this : Undo a git stash
and did a "git stash pop" Dropped refs/stash@{0} (5165c71bf07f84a540496032828268c274e3f040)
ho do I get back to status B?
Thanks in advance!