I have like 20 commits and I need to remove one of the commits (commit #20). I have tried:
git reset --hard hashID
but it is moving the head to that particular head:
HEAD is now at someID
I don't want to change the head I just want to remove those changes.
What can I do? How can I remove that particular commit and keep the rest of the commits?