Today I put my password to Github\'s wiki Home
page. Then, I know it\'s a mistake.
How to remove this page? (I can remove child page, but I don\'t know how
The wiki is simply a separate git repository, so you can check it out and remove files the same way you would with anything else. Simply apply .wiki
to the name (so if your repository is named my_repo
, clone my_repo.wiki.git
instead of my_repo.git
) and clone to do this.
However, that said, you should definitely change your password anyway; it is compromised.
Github provides instructions to permanently purge a repository of a file here but it is my opinion that it's not worth bothering, given that the password should never be used again now that you have exposed it. You simply cannot know who has already pulled down the information and seen it (and numerous bad actors run scripts regularly on Github specifically to harvest credentials mistakenly committed).