4 ms·
It's much better to ignore the files generated by your own tools with a global exclude file than to add them to every project's .gitignore. git config --glob
by zb 15y ago
It's much better to ignore the files generated by your own tools with a global exclude file than to add them to every project's .gitignore.
git config --global core.excludesfile ~/.gitignore
- abi 15y agoIt depends. It's often been with the case for me that since I'm an undergrad and a lot of my collaborators are not too experienced with Git that people don't have their global gitignores set properly. In this case, it's better to put the ignores along with the code that everyone's pulling from.