How to completely delete a commit from GitHub? : <p>On GitHub, I forked a repositary and cloned on my PC. Then, for testing purpose, I edited a file, made a commit and pushed it to GitHub. But now I would like to completely delete this commit.</p>

<p>I did the following:</p>

<pre><code>git reset --hard &lt;sha1_of_previous_commit&gt;
git push --force
</code></pre>

<p>It looked OK, but my commit was still accessible on GitHub by URL with SHA1 of my commit. So I deleted the repositary on GitHub, then the URL was saying Not Found. </p>

<p>But if I fork the same repositary again, my commit is again accessible by this URL. Please help me, how the hell I can get rid of this commit?</p>
