DocsCommand reference
All commands
Every command takes --repo <path> (default: the current folder) and --help. Unknown options are rejected with a suggestion, and nothing is changed.
Scan
Find what is exposed and see the state of protection.
Everyday git
Replace the git commands that refuse to touch sealed files.
-
stageCommit your edits to a protected file. Your changed lines go to the index; every other line comes from HEAD, and the working copy stays sealed. -
pullPull the current branch on a protected repo. Puts the real values back, pulls, then re-seals with the last full scan's options. -
branch-switchCheck out another branch on a protected repo, optionally pulling after, without un-sealing files by hand.
Protection
Undo, re-apply or lift the seal on files.
-
restorePut the real values back in some files, or undo everything Secret Sleuth did to a repository, hooks included. -
freezeRe-apply skip-worktree to files the manifest tracks. Flips the flag only; file content is never changed. -
unfreezeClear skip-worktree on protected files without changing their content. Used when remediation is committed and you are going back to plain git.
Remediation
Track each finding to done and report progress.
Setup
One-time wiring for hooks and Angular workspaces.