Module branchless::commands::hooks [−][src]
Expand description
Callbacks for Git hooks.
Git uses “hooks” to run user-defined scripts after certain events. We extensively use these hooks to track user activity and e.g. decide if a commit should be considered “hidden”.
The hooks are installed by the branchless init
command. This module
contains the implementations for the hooks.
Functions
Handle Git’s post-checkout
hook.
Handle Git’s post-commit
hook.
Handle Git’s post-rewrite
hook.
Handle Git’s reference-transaction
hook.