pre-commit
pre-commitFramework for managing and running multi-language Git hooks.
Framework for managing and running multi-language Git hooks.
Run hooks, install the Git hook script or update hook versions. Other subcommands and stage-specific ref options are not covered.
pre-commit runRun configured hooks on staged files, all files or a chosen file list.
hookall_filesshow_diffverbosehookverboseshow_diffstring · positional 0boolean--all-files-apath · repeatable--filesboolean--show-diff-on-failureboolean--verbose-vpath--config-cenum--hook-stagepre-commitpre-merge-commitpre-pushprepare-commit-msgcommit-msgpost-commitpost-checkoutpost-mergepost-rewritepre-commit installInstall the pre-commit script into the repository's .git/hooks.
hook_typeoverwriteconfigallow_missingenum--hook-type-tpre-commitpre-merge-commitpre-pushprepare-commit-msgcommit-msgpost-commitpost-checkoutpost-mergepost-rewriteboolean--overwrite-fpath--config-cboolean--allow-missing-configpre-commit autoupdateUpdate the repos in the config to their latest versions.
freezebleeding_edgerepoconfigboolean--freezeboolean--bleeding-edgestring · repeatable--repopath--config-cfigcompletionfigcompletionfigcompletionfigcompletionBefore it fills your prompt, Otty checks the installed pre-commit against its version. A form that does not match your version is not offered.