Removing Pull Request with sensitive data in the diff

Hi, I recently removed passwords with bfg and force-pushed up the branch in question.

The pull request diff from the closed PR is a copy of the diff at that timeframe. I can no longer reopen the PR because it was force-pushed.

How do I remove the sensitive data from the pull request?

Nevermind, finally found the answer in a different topic on here. Essentially I should change the password as is good practice, and contact github support to remove the cached PR diff.

1 Like