git-secret/_posts/2023-12-28-git-secret-clean.md

1.3 KiB

layout title date permalink categories
post git-secret-clean 2023-12-28 15:37:04 +0000 git-secret-clean command

git-secret-clean - removes all the hidden files.

SYNOPSIS

git secret clean [-v]

DESCRIPTION

git-secret-clean - deletes all files in the current git-secret repo that end with .secret.

You can change the extension git-secret uses for encrypted files with the SECRETS_EXTENSION environment variable.

Note that it will delete any files ending in .secret, even if they are not tracked by git-secret.

Also note that this command does not delete unencrypted versions of files.

Verbose mode, enabled with the -v option, displays the filenames deleted.

OPTIONS

-v  - verbose mode, shows which files are deleted.
-h  - shows this help.

You can also enable verbosity using the SECRETS_VERBOSE environment variable, as documented at git-secret(7)

MANUAL

Run man git-secret-clean to see this document.

SEE ALSO

git-secret-whoknows(1), git-secret-add(1), git-secret-remove(1), git-secret-removeperson(1)