[8 / 1 / 1]
It finally happened, every newbie's worst nightmare. I accidentally pushed sensitive information to a (private) GitLab repo. After making a worse mess with a bunch of git commands I tried on the terminal, I decided to download GitKraken to help me edit the timeline. I kinda managed to fix the repo since now the commit history doesn't show the commit with the sensitive information. However I know the information is there since I can do something like
git checkout [hash]
With the offending commit hash and it will in fact bring the repo to a state with sensitive information. Furthermore on GitLab the commit history doesn't show the commit either but if you go to Manage / Activity / Push Events it shows the commit was pushed and it offers a link to it.
Is there ANY way to absolutely delete this commit from the repo?
git checkout [hash]
With the offending commit hash and it will in fact bring the repo to a state with sensitive information. Furthermore on GitLab the commit history doesn't show the commit either but if you go to Manage / Activity / Push Events it shows the commit was pushed and it offers a link to it.
Is there ANY way to absolutely delete this commit from the repo?
