Remix.run Logo
6LLvveMx2koXfwn a day ago

This is great, and nicely written up in the context of agentic repos etc, but presumably no-one reads the official docs, right: https://git-scm.com/docs/gitignore where the multiple ways of ignoring files are clearly stated?

faithraven a day ago | parent | next [-]

Until Claude suggested .git/info/exclude, it never crossed my mind to question how ignoring worked. A search would have answered it in seconds, but you have to think to ask first. I didn't, and I suspect most people don't either. Especially with git, which nearly everyone learns by doing; very few of us ever sit down and learn it properly. That's why I wrote it up: so a few more people can learn this the way we learn everything else in git, by accident.

Now that you mention it, I should add a link to those docs in the article. Thanks!

onaclov2000 a day ago | parent [-]

This is true, using AI to help discover better ways of working with stuff is pretty epic, reading docs are about as exciting as writing docs, esp when you are trying to get something done.

gritzko a day ago | parent [-]

The motivation fades to make things intuitive.

alexpotato a day ago | parent | prev | next [-]

There is a tweet doing numbers on Twitter right now which is effectively:

"Do the reading b/c you would be amazed how many people don't do the reading"

bigfishrunning a day ago | parent | next [-]

So many people treat git commands like magic words, and then are terrified when they mess up their repo (example in this xkcd... https://xkcd.com/1597/)

Reading documentation is a superpower

faithraven a day ago | parent | next [-]

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.

1718627440 a day ago | parent [-]

Yeah, but Git is a tool, that in the face of an accident shoves you it's manual in the face.

coldpie a day ago | parent | prev [-]

I'm definitely the friend in the alt-text of this comic. What do you mean you haven't read gitcore-tutorial(7)??

windward a day ago | parent | prev [-]

Do the reading b/c there's a machine that has done all the reading so it's hard to add value if you maintain the anti-intellectualism of 2010s software dev.

BeetleB a day ago | parent | prev | next [-]

For a lot of tools, people usually read the docs once, and obscure stuff is quickly forgotten.

stephbook a day ago | parent | prev [-]

I have never seen these two files in any git repository I've cloned so far.

fortran77 a day ago | parent [-]

That’s because, unlike .gitignore, they are not committed.