hello-world icon indicating copy to clipboard operation
hello-world copied to clipboard

wiki 克隆搬家

Open downgoon opened this issue 8 years ago • 1 comments

clone wiki

  • 问题 在github上写的wiki,能像源代码一样,克隆下来,搬家到其他地方吗?

  • 办法

回答:可以的。比如项目地址:https://github.com/downgoon/hello-world,只要在后面追加.wiki.git,就可以克隆:

git clone https://github.com/downgoon/hello-world.wiki.git

图片链接呢?

downgoon avatar Sep 28 '17 08:09 downgoon

5 things you can do with a locally cloned github wiki

https://grantwinney.com/5-things-you-can-do-with-a-locally-cloned-github-wiki/

  • How to Clone a GitHub Wiki
  • Edit Your Wiki Offline: brew install gollum
  • Generate HTML Docs: Pandoc pandoc -f markdown some-file.md > some-file.html
  • Insert a Table of Contents

GitHub uses a wiki system called Gollum, which is built on top of Git and stores its files in a Git repository. You can imagine why that'd be attractive to GitHub.

downgoon avatar Sep 28 '17 09:09 downgoon