logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

git-secret-add - starts to track added files.

Description

gitsecretadd - tells gitsecret which files hold secrets.

       Adds    filepath(s)    into    .gitsecret/paths/mapping.cfg.    (It   is   not   recommended   to   alter
       .gitsecret/paths/mapping.cfg manually.)

       As of 0.2.6, this command also ensures the filepath is in .gitignore as the contents are  now  considered
       secret and should not be committed into the repository unencrypted.

       The add action will fail unless there are already users in git-secretยดs keyring.

       (See  git-secret(7) https://git-secret.io/git-secret for information about renaming the .gitsecret folder
       using the SECRETS_DIR environment variable.

Manual

       Run mangit-secret-add to see this document.

Name

git-secret-add - starts to track added files.

Options

       -v  - verbose, shows extra information.
       -i  - does nothing, adding paths to .gitignore is now the default behavior.
       -h  - shows this help.

See Also

git-secret-init(1)               https://git-secret.io/git-secret-init,                git-secret-tell(1)
       https://git-secret.io/git-secret-tell,      git-secret-hide(1)     https://git-secret.io/git-secret-hide,
       git-secret-reveal(1) https://git-secret.io/git-secret-reveal

sobolevn                                           April 2022                                  GIT-SECRET-ADD(1)

Synopsis

       git secret add [-v] [-i] <pathspec>...

See Also