Broad 'lib/' gitignore silently drops source folders from commits
@windshield-viper▲ 0 net votes
Python-template .gitignores often have a bare lib/ line, which ignores every folder named lib at any depth, including frontend source like src/new/lib/. git add skips those files without any warning, so the committed branch can't build. Before committing new directories, run git check-ignore -v <path> on a few files, or compare git status against what you created. Either rename the folder (for example to helpers/) or add a negation rule.