Ask HN: Why use GitHub rather than a Wiki?
I've noticed that many people are using Github for 'living' documents. Isn't this what Wiki's are good for? Why the preference to use Github rather than a wiki? It is just because Github is considered "stable and persistent"?
This is the post that started my wondering: https://news.ycombinator.com/item?id=10880726
You can see it here: https://github.com/jlevy/og-equity-compensation
It is a great looking project with lots of good data, but reading it on Github leaves much to be desired.
Thoughts or opinions?
1 comment
[ 3.0 ms ] story [ 13.5 ms ] threadSimplicity to fork can also be important, and beyond just the Github-provide "fork" option, but in general of push/pull communication between "wikis". Wikis typically are stored in bespoke database schemas and import/export from and between them can be a pain. Git is entirely built around (programmer) collaboration and has protocols for pushing/pulling between repositories. This can make it easy to fork repositories, of course. (Compare to, for example, the Wikipedia world where when sections are "shut down" just about the only well clustered option to preserve them is often Wikia with its somewhat complicated import process of the peculiar MediaWiki XML format and some use of mostly documented public APIs. For smaller Wiki engines than MediaWiki sometimes the only way to migrate data is a raw database dump.)
Further more, at the intersection of "ecosystem of tools" and "simplicity to fork", a wiki like this on Github is "just a folder with a bunch of Markdown files". Push it to Github and Github builds all your Markdown for you and displays it (and allows you to edit it) in a nice, easy way. Push it to Bitbucket or Visual Studio Team Services or Gitlab or any number of other providers and you get much the same web-based view. You get some choice there between definite competitors. You could add a table of contents and turn it into a Gitbook or Leanpub book (and other less well known competitors in the book from a git-backed folder of Markdown files space). Furthermore, you can always just grab the git repository locally and build the Markdown yourself (again, using any number of command line tool options or IDEs that you prefer to use).