git-pre-commit

command
v0.0.0-...-ceb9c94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

README

git pre-commit

The laziest way to integrate pre-commit hooks with your repo

Subcommands

init
$ git pre-commit init

If you don't have a .pre-commit-config.yaml this will create one for you. This is not idempotent, if the file already exist the command will fail.

exec
$ git pre-commit exec -- --help

Anything after the -- argument will be passed directly to pre-commit

Wrapping Commands
subcommand wrapped command
run pre-commit run
install pre-commit install --install-hooks
update pre-commit autoupdate
uninstall pre-commit uninstall

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL