I am trying to resolve an issue with old commits persisting through new pull requests from my personal forked repo to the original repo. I am using the GitHub website, not command line.
When I look at the page for my personal forked repo, I see "This branch is 6 commits ahead of originalrepo:master." However, these commits have already all been incorporated into the original repo. When I click on "pull request" or "compare", I see "Showing 0 changed files with 0 additions and 0 deletions," which makes sense since these two repos are currently identical.
How do I remove these old commits via the GitHub website/GitHub desktop so they don't show up in each new pull request I make to the original repo?
Thanks!