How to Delete a GitHub Commit From History
BFG Cleaner Website: bfg-repo-cleaner
Rebase to commit just prior to the commit you want to delete
$ git rebase -i 49ecbd71a342a4a6f114964fc529960a73268429
Delete the lines containing the commits you want to delete.
:wq
To write and quit
Force push to the origin master
$ git push -f origin master
// login with credentials
Journal
- 2020.06.10 Created
How to Delete a GitHub Commit From History
. This was a Google Doc I made - 2020.07.03 Updated syntax