2 ms·
Some projects like Git itself refuse to add editor droppings like ~ and # to .gitignore. They consider the .gitignore file to be only for things that the build
by avar 16y ago
Some projects like Git itself refuse to add editor droppings like ~ and # to .gitignore. They consider the .gitignore file to be only for things that the build system produces, e.g. *.o and binaries.
If you want to ignore things that your editor adds you should add it in .git/info/excludes, not .gitignore.
- graywh 16y agoI put text editor stuff in my global .gitignore
- xenomachina 16y agoI think this is why the linked collection has all of the editor specific rules in a separate "Global" subdirectory.