-
npm i -g @vd7/gittygives plaingitcommands -
no hooks ship in the package
-
no
shelllock -
no
health-check -
repo hooks still run if the target repo has
core.hooksPathset
Many repos use gh-template hooks:
gittydoes not pass--no-verify- Pre-commit runs on
git commit - Pre-push runs on
git push
When hooks run, gitty prints a pass(🟢)/fail(🔴) summary:
── hooks: pre-commit ──
🟢 - enforce-git-identity- passed
🟢 - check-em-dashes- fixed (em dash -> hyphen)
🟢 - clearmeta- metadata stripped
── hooks: pre-push ──
🟢 - shelllock- passed
🟢 - health-check- all checks passed
Hook block → 🔴, commit/push stops
- partial holdback does not bypass hook failures
shelllock Touch ID on pre-push when installed + wired into repo's .hooks/pre-push
| Layer | What it does |
|---|---|
gitty partial holdback |
Size/submodule/push-reject paths → see partial-commit.md |
| Repo hooks | Policy gates (identity, venv, health-check, etc) |
They are independent:
- a hook block still aborts whole commit even when partial mode is on