Skip to main content

ggshield secret scan pre-commit

Description#

Scan as pre-commit hook all changes that have been staged in a git repository.

ggshield secret scan pre-commit [OPTIONS]

Options#

No options

ggshield global options#

  • -h, --help: display detailed help
  • --json: output results in JSON [default:false]

See also#

Go to our dedicated documentation for more details about pre-commit integration with ggshield.