I understand git rebase
a bit. And I understand git reflog
and git reset --hard
a bit, too. But the SO answers and blog posts I've tried can't seem to help me fix this error I've made.
I am working on a change to Marionette. I was doing as I normally do, squashing my commits into one, when I noticed at some point that I had actually somehow 'attached' a bunch of commits to my PR. It now lists 6 commits, with my latest one being separate from the others.
I'm unsure if this is what squashing looks like when you squash commits from multiple users, so my first question is: what is going on here? Were they accidentally squashed?
The second question is how might I fix this? Nothing I do seems to work. I git reset --hard
to before I did any rebases, and it still shows those 6 commits as unpushed commits. Even if I reset --hard
all the way to when I cloned the repo, it still lists those other commits.
What is going on here? Do you have any ideas on how I can fix this?