‹ BackHN Continuity

Thread

The GitHub wiki is an anti-pattern (2022)

175 points · 112 comments · ibobev

  1. sigvef · · focus · HN ↗
    Not many people know that the github wiki is actually backed by a separate &quot;hidden&quot; repo, and can be accessed by adding .wiki to the repo url, e.g. <a href="https:&#x2F;&#x2F;github.com&#x2F;lionleaf&#x2F;dwitter.wiki.git" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lionleaf&#x2F;dwitter.wiki.git

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

    1. isityettime · · focus · HN ↗
      It&#x27;s in the docs, so it&#x27;s not exactly hidden:

      &gt; You can edit wikis directly on GitHub, or you can edit wiki files locally.

      <a href="https:&#x2F;&#x2F;docs.github.com&#x2F;en&#x2F;communities&#x2F;documenting-your-project-with-wikis&#x2F;adding-or-editing-wiki-pages#cloning-wikis-to-your-computer" rel="nofollow">https:&#x2F;&#x2F;docs.github.com&#x2F;en&#x2F;communities&#x2F;documenting-your-proj...

      &gt; Every wiki provides an easy way to clone its contents down to your computer. Once you&#x27;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

      &gt; Clone this wiki locally

      as well.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.