Skip to main content

ggshield secret scan commit-range

Description#

Scan each commit in a given commit range.

ggshield secret scan commit-range [OPTIONS] <COMMIT_RANGE>

Options#

No options

ggshield global options#

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

Examples#

git rev-list COMMIT_RANGE to list several commits to scan:

$ ggshield secret scan commit-range HEAD~1...