3 ms·
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 onl
by TrianguloY 2y ago
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!
- eddiejaoude 2y agoGreat 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!