Treat GitHub Wiki Like A Repository

I recently needed to export all the articles from a GitHub wiki. I had thought I’d need to scrape it but I discovered that each GitHub wiki is in fact a Git repo.

If you need a copy of the content you can just clone it via Git.

$ git clone git@github.com:username/repo_name.wiki.git

That’s neat and I hope it’s useful to someone else.

comments powered by Disqus