Adopt it
Start with the repository you already have
nosecrets scan --tracked checks every file Git tracks once. What you decide to keep is accepted by fingerprint and path, in a file that is part of the repository.
- Nothing is rewritten and nothing leaves your machine.
- Each accepted value is one line in
.nosecretsignore, visible in review. - From then on the hook checks only what a commit adds.