/
๐Ÿ“

.gitignore Best Practices

note
On this page
  • One .gitignore in a given projects root

One .gitignore in a given projects root

There can be multiple .gitignore files in any sub directories but the Best Practice is to have one .gitignore in a given projects root and have that file reference sub-directories as necessary, e.g. images/yearly/recent Otherwise it is be tricky to know "which" .gitignore file to look at to find something that's being ignored.

Edit this page
logo
Code-related notes and snippets