git-secret-remove1
Removes files from index.
Usage
git secret
remove
[-c]
<pathspec> ...
Overview
git-secret-remove - stops files from being tracked by git-secret.
This deletes filenames from .gitsecret/paths/mapping.cfg, which stops these files from being tracked by git-secret, and from being encrypted to, or decrypted from, .secret encrypted versions.
There´s also a -c option to delete existing encrypted versions of the files provided.
Note unlike add, which automatically add pathnames to .gitignore, remove does not delete pathnames from .gitignore.
(See git-secret(7) https://git-secret.io/git-secret for information about renaming the .gitsecret folder using the SECRETS_DIR environment variable.
Options
-c - deletes existing real encrypted files. -h - shows help.
Manual
Run man git-secret-remove to see this document.
Releases
4 releases since Debian 10 (Buster); the text changed 1 time.