% git-prepare(1) Version 0.1.1 | git-prepare
NAME
Lint, check and prepare the next commit with pre-commit
HOW
It:
- adds all index files in the next commit (stage them)
- Run
pre-committo execute allgit hooksif found
SYNOPSIS
Lint, check and prepare the next commit with pre-commit
git-prepare
PRE-COMMIT AND EXIT STATUS
- If the
pre-commitconfig file.pre-commit-config.yamlis not found, this script will exit successfully with a warning. - If the conf file is found but not
pre-commit, this script will fail. - If a git hooks managed by
pre-commitfails, this script will fail.