‹ BackHN Continuity

Thread

Two Git ignore files nobody told me about

95 points · 66 comments · faithraven

  1. TrianguloY · · focus · HN ↗
    I learned this while using IntelliJ, because it suggests both options. I searched for the difference and, once understood, I was able to use the knowledge everywhere.

    The other useful advice is when there is a full folder you want to ignore. Putting a .gitignore with a single "*" ignores the full folder...including the gitignore file itself.

    I do use it when I quickly need to ignore the .idea folder

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.