‹ BackHN Continuity

Thread

Two Git ignore files nobody told me about

95 points · 66 comments · faithraven

  1. 6LLvveMx2koXfwn · · focus · HN ↗
    This is great, and nicely written up in the context of agentic repos etc, but presumably no-one reads the official docs, right: <a href="https:&#x2F;&#x2F;git-scm.com&#x2F;docs&#x2F;gitignore" rel="nofollow">https:&#x2F;&#x2F;git-scm.com&#x2F;docs&#x2F;gitignore where the multiple ways of ignoring files are clearly stated?
    1. alexpotato · · focus · HN ↗
      There is a tweet doing numbers on Twitter right now which is effectively:

      &quot;Do the reading b&#x2F;c you would be amazed how many people don&#x27;t do the reading&quot;

      1. bigfishrunning · · focus · HN ↗
        So many people treat git commands like magic words, and then are terrified when they mess up their repo (example in this xkcd... <a href="https:&#x2F;&#x2F;xkcd.com&#x2F;1597&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;1597&#x2F;)

        Reading documentation is a superpower

        1. faithraven · · focus · HN ↗
          I&#x27;d wager a small sum that git is the tool most of us learned by accident, some of them fortunate, some less so. Thankfully, this one was the former.
          1. 1718627440 · · focus · HN ↗
            Yeah, but Git is a tool, that in the face of an accident shoves you it&#x27;s manual in the face.
        2. coldpie · · focus · HN ↗
          I&#x27;m definitely the friend in the alt-text of this comic. What do you mean you haven&#x27;t read gitcore-tutorial(7)??
      2. windward · · focus · HN ↗
        Do the reading b&#x2F;c there&#x27;s a machine that has done all the reading so it&#x27;s hard to add value if you maintain the anti-intellectualism of 2010s software dev.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.