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.
I did the following:
git reset --hard <sha1_of_previous_commit>
git push --force
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.
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?