News for hackers. Stuff that matters.
Re:Stop Using Git Ignore by eddiejaoude on Sunday August 18, 2024 @04:33PM (#41285263)
I don't like to rant, I like to have professional discussions.

Than you for reading the article and for sharing the FB link with a git ignore example - the contents of the example file is not long because it doesn't have every dev tool possible, so I think you proved my point - so thank you :)

Re:Stop Using Git Ignore by efilife on Sunday August 18, 2024 @06:39PM (#41286129)
Can you answer the questions?
Re:Stop Using Git Ignore by eddiejaoude on Monday August 19, 2024 @07:06AM (#41289908)
>> Everyone uses different operating systems, IDEs and dev tools. > How is this related to .gitignore?

Exactly! I explained in the article (and video) people fill the repo git ignore with all their personal tools that generate files, for example .DS_Store, .Idea etc. This should go in their personal global git ignore

>> This list will only keep growing, it will never end > Where's the problem? A random Facebook's repo has its gitignore file weigh 2KB[0]. Is this a problem?

Have a look at some other projects. I explained in the article (and video) the file can be pages long with every possible combination and will only keep growing as new dev tools come out

>> Is the “.gitignore” file competing with the “README.md” for the most updated file in the git repo? I hope not > Again, why is this a bad thing?

As I explained in the article, it becomes a lot of work for the maintainers, to review, check for duplicate entries etc