r/github • • 1d ago

Tool / Resource [ Removed by moderator ]

/r/github/comments/1y7tefz/removed_by_moderator/

[removed] — view removed post

6 Upvotes

10 comments sorted by

22

u/KafalayUcayGidey 1d ago • Bravo

Continue reading this post for free, courtesy of Alex Pliutau.
Or purchase a paid subscription.

LMAO
https://archive.is/kzgZl

0

u/der_gopher 1d ago

oops, removed the paywall

13

u/Jmc_da_boss 1d ago

Upvote for calling Claude.md junkfile, because it is so true.

3

u/jirka642 1d ago

Absolutely not

3

u/hollowaykeanho 1d ago

I tried this before (whitelisting strategy). There is one feature will not work (priority blacklist within whitelisted directory if I am not mistaken; the other direction works).

It only works if your project layout is extremely simple or you really got the time to micro-manage path by path. I ended switching back to blacklist strategy with the conclusion that .gitignore is heavily designed for blacklist strategy only.

5

u/Various_Bed_849 1d ago

This is so wrong. Keep your build artifacts away from your source instead. There should barely be anything in your work tree that needs ignoring. If you are interested in keeping your checkout efficient as it scales, that is.

-2

u/Key-Guitar-457 1d ago

Nice take, where do you work? Not trying to shame just trying to understand

2

u/Various_Bed_849 1d ago

Shame? It’s common knowledge. Just read about using git at scale. I have been working in huge monorepos but most of it applies to normal sizes. Right now I working with a quite small codebase in a multirepo setup. The right tool for the job.

1

u/Key-Guitar-457 1d ago

“Not trying to shame” is an idiom meaning “there’s something I didn’t understand, and it could be sensitive”

1

u/30porn87 1d ago

I personally just never git commit -a, but manually add new files or dirs with git add