I have squashed 7 commits (using git rebase -i HEAD~7
) into a single commit and pushed the changes to bitbucket server. Now, I realized I need to push the 7 commits in original state.
I tried git reflog
and git reset --hard HEAD@{7}
But can only see one commit.