How to delete Github's wiki homepage?

后端 未结 2 1690
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-05 06:56

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

2条回答
  •  野的像风
    2021-02-05 07:41

    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).

提交回复
热议问题