sudo rm -rf --no-preserve-root / @pcaversaccio.com · 21/02/2024Suppose u have accidentally pushed a `.env` file into ur repo. You immediately hit `git reset --hard HEAD^ && git push origin -f`. Now u feel safe again. WRONG! GitHub DOES NOT DELETE FORCED-PUSHED COMMITS! All dangling commits can be retrieved via GH's API endpoint `PushEvents`. 100
sudo rm -rf --no-preserve-root / @pcaversaccio.com · 21/02/2024To be clear, before posting the screenshot above, I verified that none of the dangling commits pose any security risk. You can read more about it here: neodyme.io/en/blog/gith.... And the repo is here: github.com/neodyme-labs.... 110