I have a PR up on github and I accidentally merged master into my PR and pushed it. Now the PR shows way more files changes than the ones just changed by me because the master was merged in. How can I just delete the previous to merge master commits from the PR?
I tried doing git revert <hash> and now the PR commits look like this. However, the total number of Files Changed is still incorrect. It is showing files that I didnt' change.
The PR commits look like this:
My good commit
Merge branch 'master' into this-prbranch
Revert "Merge branch 'master' into this-prbranch"