Skip to main content

Module git

Module git 

Source
Expand description

Git integration — pre-commit hook for secret leak prevention.

The pre-commit hook scans staged files for patterns that look like hardcoded secrets (API keys, tokens, passwords). If a match is found, the commit is blocked with a descriptive error message.

Enums§

InstallResult
Result of attempting to install the pre-commit hook.

Functions§

install_hook
Install the EnvVault pre-commit hook into the project’s .git/hooks/.