I forked an open-source repo so that I could add some commits and make a pull request. After that pull request was merged GitHub was still stating, that my branch was 'x commits ahead' of main, even though it wasn't since all of these commits were merged.
Now I have a problem, where any new PR I am creating is showing all the commits that have already been merged in a prior PR unrelated to the new commits I am making to implement a new feature.
If you look into my fork it says that it's 10 commits ahead of main, even though it's actually only 4 commits ahead
main: https://github.com/denoland/fresh
my fork: https://github.com/michael-pfister/fresh
old pr with merged commits: https://github.com/denoland/fresh/pull/609
new pr containing past commits: https://github.com/denoland/fresh/pull/614