1GIT-SECRET-ADD(1)           git-secret 0.5.0-alpha2          GIT-SECRET-ADD(1)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

12       git secret add - tells git secret which files hold secrets.
13
14       Adds  filepath(s)  into .gitsecret/paths/mapping.cfg. (It is not recom‐
15       mended to alter .gitsecret/paths/mapping.cfg manually.)
16
17       As of 0.2.6, this command also ensures the filepath is in .gitignore as
18       the contents are now considered secret and should not be committed into
19       the repository unencrypted.
20
21       The add action will fail unless there are already users in git-secret´s
22       keyring.
23
24       (See  git-secret(7)  https://git-secret.io/git-secret  for  information
25       about renaming the .gitsecret folder using the SECRETS_DIR  environment
26       variable.
27

OPTIONS

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

MANUAL

34       Run man git-secret-add to see this document.
35

SEE ALSO

37       git-secret-init(1)    https://git-secret.io/git-secret-init,    git-se‐
38       cret-tell(1) https://git-secret.io/git-secret-tell,  git-secret-hide(1)
39       https://git-secret.io/git-secret-hide,             git-secret-reveal(1)
40       https://git-secret.io/git-secret-reveal
41
42
43
44sobolevn                          April 2022                 GIT-SECRET-ADD(1)
Impressum