Scan all commits across all git branches in a git repository at a given URL or path.
ggshield secret scan repo [OPTIONS] <REPOSITORY>
<REPOSITORY> is the clone URI or the path of the repository to scan.
--help: display detailed help
# scan a repository with its clone URI$ ggshield secret scan repo email@example.com:GitGuardian/ggshield.git # scan a repository with its path$ ggshield secret scan repo /repositories/ggshield
It is best to use a native VCS integration and view the results of a scan within the dashboard.