Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I checkout github wikis like a git repository?

Tags:

git

github

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?

like image 612
ZelluX Avatar asked Jul 23 '09 07:07

ZelluX


People also ask

How do I pull wiki from GitHub?

The Wiki pages are managed as a repository. So click on your repository, then on the left side click on Wiki. Finally on the upper right corner click on Clone Repository. There you will clear instructions on how to clone it correctly.

What is GitHub wiki used for?

You can use a wiki to share detailed, long-form information about your project. Wikis are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud and GitHub Enterprise Server.

Can you fork a GitHub wiki?

You can't fork it directly on GitHub, but you can get Git access to it by going into the Git access tab of the wiki and you should be able to fork it on your local machine and edit it as much as you want (and even get updates to it!)

How do I add a wiki to my GitHub repository?

Adding wiki pagesUnder your repository name, click Wiki. In the upper-right corner of the page, click New Page. Optionally, to write in a format other than Markdown, use the Edit mode drop-down menu, and click a different format. Use the text editor to add your page's content.


2 Answers

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 
like image 62
Max Masnick Avatar answered Sep 27 '22 21:09

Max Masnick


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.

like image 28
seth Avatar answered Sep 27 '22 20:09

seth