There are a gazillion packages in pypi.org that "build" your .gitignore files.
The problem is, all download templates from a repository or another, and you need to instruct them to do so.
You could also ask your LLM to do it claude -p "update the .gitignore make it complete" or codex -p "update the .gitignore make it complete" but why would you waste tokens on something so simple?
So as far as I can tell we all still do it pretty much manually, piercing things from here and then, and then reusing them.
I build gitignorio-cli (command: gi) which does the .gitignore for your system, your project languages and the editor you are using automatically.






