How to remove a dangling commit from GitHub?
Delete the repo or contact GitHub Deleting the repo and recreating it without the bad commit seems to work if you can afford losing all issues. The data also disappears from the commit API (although push events are still visible). See also: https://stackoverflow.com/a/32840254/895245 If you can’t afford to lose issue data, GitHub support can manually … Read more