I have a local branch that I was working on last week. I knew I was going to be away for it for a while, so I committed my changes, but did not push them. Today I went back to work on it, and when I checked it out, it told me I was 40 commits behind origin, and I should do a git pull
.
So I did. And now I can't find the changes that I had committed last week. I don't have the hash of it, and I can't find it in gitk
.
I've looked at this, this, and this, but when I did a git checkout HEAD@{1}
just to see where things were, it wasn't where it should have been.
How can I find my local commit and get back to it safely?