git-secret-init man page

git-secret-init — initializes git-secret repository.

Synopsis

git secret init

Description

git-secret-init should be run inside a git repo to set up the .gitsecret directory and initialize the repo for git-secret. Until repository is initialized with git secret init, all other git-secret commands are unavailable.

If a .gitsecret directory already exists, git-secret-init exits without making any changes. Otherwise, a .gitsecret directory is created with appropriate sub-directories, and patterns to ignore git-secret´s random_seed_file and not ignore .secret files are added to .gitignore.

(See git-secret(7) http://git-secret.io/git-secret for information about renaming the .gitsecret folder with the SECRETS_DIR environment variable, and changing the extension git-secret uses for secret files with the SECRETS_EXTENSION environment variable.

Options

-h  - shows this help.

Manual

Run man git-secret-init to see this note.

See Also

git-secret-usage(1) http://git-secret.io/git-secret-usage, git-secret-tell(1) http://git-secret.io/git-secret-tell

Referenced By

git-secret-add(1), git-secret-cat(1), git-secret-hide(1), git-secret-reveal(1), git-secret-tell(1), git-secret-usage(1).

September 2019 sobolevn git-secret 0.3.2