logoalt Hacker News

sigveftoday at 3:14 PM3 repliesview on HN

Not many people know that the github wiki is actually backed by a separate "hidden" repo, and can be accessed by adding .wiki to the repo url, e.g. https://github.com/lionleaf/dwitter.wiki.git

Apparently it can even do CI stuff. Still wouldn't recommend it though, for the other reasons outlined in TFA and this thread.


Replies

isityettimetoday at 8:03 PM

It's in the docs, so it's not exactly hidden:

> You can edit wikis directly on GitHub, or you can edit wiki files locally.

https://docs.github.com/en/communities/documenting-your-proj...

> Every wiki provides an easy way to clone its contents down to your computer. Once you've created an initial page on GitHub, you can clone the repository to your computer with the provided URL.

Every GitHub wiki you visit also has a section at the bottom that points to that URL with the description

> Clone this wiki locally

as well.

WorldMakertoday at 3:41 PM

I seem to recall that GHE allowed you at one point to point a Wiki to a /docs or /docs/wiki subdirectory. I still don't know why that never became a public GitHub.com feature. Sure it is technically redundant with the file browser if you know how to use the view controls and don't mind the UI sprawl of the file browser, but I still think it would be a good feature.

annex-winged-crtoday at 3:40 PM

It leads to a 404 page on my end.

show 1 reply