cin90 install-hook

Install the pre-push hook that submits your session

Points this repository's core.hooksPath at .githooks, so pushing submits the session you recorded.

Hooks this repository already had keep firing: they are chained from the new directory, because setting core.hooksPath stops git reading the old one. Run it again after installing another hook — a hook added later lands in the directory git no longer reads, and a second run chains it. Undo it with cin90 uninstall-hook.

Usage

text
cin90 install-hook [flags]

Flags

text
  -h, --help   help for install-hook

See also

Read this page in your terminal: install the cin90 CLI and run cin90 docs. The same page is served as raw markdown.