Asking for a friend.
Scenario
Confidential information has been pushed to a public github repository by accident. As soon as the commiter noticed the failure he decided to override git history with push -f
to remove the information from the web.
Problem
The confidential information is still accessible via
git reflog
at github. So the staff at github is still able to access the information.Even worse, if the commiter has put a reference in the initial commit message, e.g. referencing an issue using the #-sign, github would automatically put a link to the commit into that issue. In this case the overridden information is still accessible via the github frontend.
Question
- Is it possible to modify/delete the reflog of a remote git or github repository?
- If it is not possible. What would you do in the given scenario? Delete the issue with the reference to the first commit? Delete the whole repository? Whate else?