I created a file in my GitHub repository, which was initially empty using the GitHub website. Now, I would like to revert the repository back to its original empty state, removing the file that was added and clearing the commit history.
I would appreciate any guidance or instructions.
I tried to use git reset -- HEAD^
but it didn't work.