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://git-scm.com/docs/gitignore" rel="nofollow">https://git-scm.com/docs/gitignore where the multiple ways of ignoring files are clearly stated?
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://xkcd.com/1597/" rel="nofollow">https://xkcd.com/1597/)
I'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.
6LLvveMx2koXfwn · · focus · HN ↗
alexpotato · · focus · HN ↗
"Do the reading b/c you would be amazed how many people don't do the reading"
bigfishrunning · · focus · HN ↗
Reading documentation is a superpower
faithraven · · focus · HN ↗
1718627440 · · focus · HN ↗