Your company here, and a link to your site. Click to find out more.

git-secret-init - Man Page

initializes git-secret repository.


git secret init


git-secret-init - initializes a git-secret repo by setting up a .gitsecret directory.

git-secret-init should be run inside a git repo, to create the .gitsecret directory and initialize the repo for git-secret. Until a 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,

See git-secret(7) https://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.


-h  - shows this help.


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

See Also

git-secret-usage(1) https://git-secret.io/git-secret-usage, git-secret-tell(1) https://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).

April 2022 sobolevn git-secret 0.5.0-alpha2