News for hackers. Stuff that matters.
Re:Stop Using Git Ignore by TrianguloY on Sunday August 18, 2024 @05:06PM (#41285512)
Just a quick mention to remind that .gitignore files can be placed in any folder/subfolder inside a repository, and they will refer to folders inside itself only. The global .gitignore should be used for global rules and root folders, but if you have path with more than one folder on it, you may want to add it to a .gitignore inside that subfolder itself.

Almost mandatory for monorepos too!

Re:Stop Using Git Ignore by eddiejaoude on Sunday August 18, 2024 @06:08PM (#41285935)
Great point! Thank you for adding that, yes it works for sub folders also, which makes sense especially for mono repos

I really appreciate you adding value to the conversation, thank you!