94

I want to modify and view github wikis with local editor like Emacs, and Google Code wikis can be checked out just like code. Is there any way to checkout github wikis? Or is there any other git repository provider offers such feature?

3
  • The answer is no longer correct, could you choose the correct one now? Commented Jan 13, 2011 at 19:38
  • 4
    I think this is related to programming (ableit tangentially) since I like to support my programming projects on github with wikis. Both need flexible SCM so it makes sense. The way to do this is just to go to the github page and click the "Clone URL" button. The wiki address is the same as the github site with ".wiki.git" appended. Use the standard git clone command to get a local copy for editing. Commented Sep 12, 2013 at 14:04
  • 13
    "closed as off-topic". rolls eyes Commented Dec 12, 2014 at 5:31

2 Answers 2

141

You can now!

git clone https://github.com/user/project.wiki.git 

or if you use ssh

git clone [email protected]:username/project.wiki.git 
Sign up to request clarification or add additional context in comments.

6 Comments

That's great. Replacing .git suffix in your repo with .wiki, you will clone your wiki pages.
Just for kicks and giggles, Here is the actual clone syntax. git clone [email protected]:myusername/reponame.wiki.git
Make sure to create at least one page before cloning
And as a bonus, you can branch your wiki. The only caveat is that the wiki always only shows master; you can't browse different wiki branches on github.com.
@Kelvin actual both work. Your version requires a key registered by the system in order to work. The original answer works just fine; you just have to authenticate each time.
|
2

You can't check out the wiki but you can set up a website that you can checkout and edit that gets regenerated on a push.

They call it GitHub Pages. Admittedly, not the same as a wiki though.

1 Comment

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.