Hooks committed in `.githooks/` work for you but not for teammates.
BeginnerTroubleshootingSubmodules, LFS and Hooks
Answer
Likely causes → Git never runs hooks from the working tree by default and never installs them on clone (for security). You set core.hooksPath locally; your teammates did not.
Diagnose → git config --show-origin core.hooksPath
Fix → Each developer runs once:
git config core.hooksPath .githooks
Automate it via npm prepare (Husky), make setup, or the pre-commit install step.
Prevent → Treat client hooks as convenience only; enforce the same checks in CI and branch protection.
More on Submodules, LFS and Hooks
`fatal: No url found for submodule path 'libs/common' in .gitmodules`IntermediateAfter cloning, the submodule directories exist but are empty.Beginner`git submodule update` fails: `fatal: remote error: upload-pack: not our ref 3f2a9c1...` and `Fetched in submodule path 'libs/common', but it did not contain 3f2a9c1. Direct fetching of that commit failed.`Intermediate`git status` keeps showing `modified: libs/common (new commits)` even though you never touched it.BeginnerYou committed inside a submodule, ran `git submodule update`, and your commits vanished.Intermediate`git submodule add` fails with `fatal: 'libs/common' already exists in the index`.Intermediate