Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created a wiki page in my project's GitHub repository, for storing some loose notes and links, and GitHub automatically created a wiki page called "Home", containing the text "Welcome to the [repository] wiki!"

There are two problems with that. First, the new "Home" page is completely useless to me. Second, and most importantly: in order to access the page I created, I have to click the "wiki" link from the repository home page, and then the "Pages" tab, and then the link to the actual wiki page I created.

So I decided to move the content to the "Home" wiki page, to make it more easily accessible. Since there doesn't seem to be a "rename" function for GitHub wiki pages, I simply copied the contents of my page to the "Home" page.

Now, how do I delete the original wiki page so it doesn't clutter my repository?

share|improve this question
It turns out one can rename pages by simply changing their title in the edit view. This is valid as long as the target page title doesn't exist. Because GitHub automatically creates a useless "Home" page when you create your first wiki page, you have to delete "Home" first and only then move your page to the "Home" title. This should preserve the edit history rather than copy-pasting the contents. – waldyrious Dec 19 '12 at 5:18
Side note for future people googling this problem: you cannot delete home wiki. – Lukasz Madon Dec 1 '15 at 14:15
up vote 20 down vote accepted

As mentioned on this thread of the GitHub Google group, repository owners can delete pages from the edit view.

The delete button might be easy to miss, since the buttons from the view mode:


...become only slightly different in edit mode:


Perhaps GitHub should consider making the interface more obvious (e.g. making the delete button red, or something like that)

share|improve this answer
Yeah, I sure missed it. Thanks! – b01 Aug 12 '13 at 18:05
The delete button has now red text. – ProgramFOX Mar 1 '15 at 11:10
The delete button is now gone. Or at least it is not shown if it's the only wiki page... – Byte Commander Sep 17 '15 at 17:26

A longer alternative is to checkout the repository for the wiki and manually delete the file containing the page contents using git rm and then checking in the changes back to the wiki repository.

Useful if you can't find the delete button on the web interface, or you are more of the command line user.

share|improve this answer
For clarity, the git wiki is stored in a separate repository, which can be accessed through the "Git access" tab of the wiki. It should be something like git@github.com:<user>/<repo>.wiki.git – waldyrious Dec 21 '12 at 17:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.