git-secret/_posts/2021-06-26-git-secret-remove.md

1016 B

layout title date permalink categories
post git-secret-remove 2021-06-26 13:24:48 +0000 git-secret-remove command

git-secret-remove - removes files from index.

SYNOPSIS

git secret remove [-c] <pathspec>...

DESCRIPTION

git-secret-remove deletes files from .gitsecret/paths/mapping.cfg, so they won't be encrypted or decrypted in the future. There's also a -c option to delete existing encrypted versions of the files provided.

(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 note.

SEE ALSO

git-secret-add(1), git-secret-clean(1), git-secret-removeperson(1)