mirror of
https://github.com/sobolevn/git-secret
synced 2024-10-31 21:20:29 +00:00
1.3 KiB
1.3 KiB
layout | title | date | permalink | categories |
---|---|---|---|---|
post | git-secret-remove | 2024-09-17 14:41:08 +0000 | git-secret-remove | command |
git-secret-remove - removes files from index.
SYNOPSIS
git secret remove [-c] <pathspec>...
DESCRIPTION
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) 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.
SEE ALSO
git-secret-add(1), git-secret-clean(1), git-secret-removeperson(1)