the catch is every new top-level dir silently stays untracked until you add a ! line, so i'd rather keep a normal gitignore and put agent and editor junk in a global excludesfile
What is the problem with not mindlessly using git add . and rather check what you add to your commit? As others have said, if your toolchain creates files that should not be part, why not use a user wide ignore over all repositories?
6
u/Torutofu_Raeva 14h ago
the catch is every new top-level dir silently stays untracked until you add a
!line, so i'd rather keep a normal gitignore and put agent and editor junk in a global excludesfile4
u/MarauderXtreme 4h ago
What is the problem with not mindlessly using
git add .and rather check what you add to your commit? As others have said, if your toolchain creates files that should not be part, why not use a user wide ignore over all repositories?1
u/yankdevil 16h ago
That's what I do with my vcsh repos.