title: How to delete a commit on a git remote?
body: <p>How can I delete a commit on a git remote hosted by github.com? I already found multiple <a href="https://stackoverflow.com/questions/448919/how-can-i-remove-a-commit-on-github">answers</a> 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.</p>
  
  <p>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.</p>
  
  <p>Solutions I've tried include:</p>
  
  <p><a href="https://stackoverflow.com/questions/8225125/remove-last-commit-from-remote-git-repository">Remove last commit from remote git repository</a></p>
  
  <p><a href="https://stackoverflow.com/questions/4647301/rolling-back-local-and-remote-git-repository-by-1-commit">Rolling back local and remote git repository by 1 commit</a></p>
  
  <p>EDIT:
  <a href="https://stackoverflow.com/questions/3293531/git-permanently-remove-few-commits-from-remote-branch">Git: permanently remove few commits from remote branch</a> 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.</p>