DocsCommand reference
unfreeze
Clear skip-worktree on protected files without changing their content. Used when remediation is committed and you are going back to plain git.
Try it
SecretSleuth unfreeze --list
SecretSleuth unfreeze --all
SecretSleuth unfreeze --file "appsettings.json"
How it works
After unfreeze, a file’s obfuscation shows in git status, and a pull or checkout touching it refuses to overwrite it. That is the right state once the placeholders have been replaced with safe values and committed: the file is clean and git can see it again. See After remediation.
While placeholders are still present, prefer pull and branch-switch, which handle the flags and keep your edits safe. To put the real values back instead, use restore.
Options
| Flag | Description |
|---|---|
--list | List protected files |
--all | Every protected file |
--file <path> | One file |
--repo <path> | Repository. Default: current folder |
Check the result
The command prints the next steps, including how to re-protect with freeze --all.