I need to get rid of commits that I have already reseted and force pushed to origin; they keep coming up whenever I pull or clone the remote repo.
I pushed commits to Pantheon's DEV environment, deployed on both TEST and LIVE environments. Later I did a hard reset to a certain commit and forced pushed to origin. Fast forward, when I cloned the repo again, I can still see the commits that I thought I had erased from history.
I can't see them in terminal with git log
but I like to use GitKraken to visually see my git history, and there they appear all the time. I tried to wipe the local repo because thought it was simply a local thing— on Pantheon's DEV environment they are gone after the force push.
Nothings seems to solve this for me. Please help! My OCD is preventing me to ignore it and continue to do work and keep adding commits. I need my history to only show the commit where HEAD is currently at, and commits ahead of that to be gone from sight.
This is how it looks like when I open the repo using GitKraken ——» Screen Shot