I accidentally pushed the file that contains API key information to the master branch and tried to "delete" the commit that contains the sensitive info. So I used git rebase and force push to go back to several commits before the sensitive one. I thought I have completely removed that sensitive commit, but indeed it is still in history. After rebasing, I have already made several new pushes, and when I notice the sensitive data is still there, I can no longer edit that commit any more. And the function is suspended for privacy protection.
I tried bfg cleaning, and was told "unable to edit hidden commit," and tried cherry pick but get the error message "fatal: bad revision."
I contacted GitHub support, but no one's answering my ticket. I don't know what to do right now. How can I go back to that sensitive commit which is lost after rebasing?