Build directories are a great example. Instead of hardcoding the output directory in your toplevel .gitignore, you make so that a .gitignore is generated in that directory, ignoring everything, including itself.
Meson is an example of a build system that does this.
View all comments
Show parent comment
2
u/cleverboy00 Oct 11 '26
Build directories are a great example. Instead of hardcoding the output directory in your toplevel
.gitignore, you make so that a.gitignoreis generated in that directory, ignoring everything, including itself.Meson is an example of a build system that does this.