How can I delete a commit on a git remote hosted by github.com? I already found multiple answers on SO that show how to remove a commit from the commit history of a branch. I attempted these, however my commit is still clearly available because I can browser directly to it using its hash.
So for clarity, my question is not how to remove a commit from the commit history of all my branches on my remote. My question is how to remove the commit itself, so that there is no record of it on the git remote that I previously pushed my branch to.
Solutions I've tried include:
Remove last commit from remote git repository
Rolling back local and remote git repository by 1 commit
EDIT: Git: permanently remove few commits from remote branch is another solution that didn't work for me. The reason this particular solution did not work is because it stays to "git push --force your revised local branch to the remote.", which doesn't delete commits from the remote and instead only removes them from the commit history of the current branch.