1GIT-SECRET-ADD(1)              git-secret 0.4.0              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 adds a filepath(s) into .gitsecret/paths/mapping.cfg and
13       ensures the filepath is mentioned .gitignore.
14
15       When adding files to encrypt, git-secret-add (as of 0.2.6) will  ensure
16       that  they  are  ignored by git by mentioning them in .gitignore, since
17       they must be secure and not be committed into the remote repository un‐
18       encrypted.
19
20       If there´s no users in the git-secret´s keyring, when adding a file, an
21       exception will be raised.
22
23       Use the git secret add command to add filenames to this file. It is not
24       recommended   to  add  filenames  directly  into  .gitsecret/paths/map‐
25       ping.cfg.
26
27       (See  git-secret(7)  http://git-secret.io/git-secret  for   information
28       about  renaming the .gitsecret folder using the SECRETS_DIR environment
29       variable.
30

OPTIONS

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

MANUAL

37       Run man git-secret-add to see this note.
38

SEE ALSO

40       git-secret-init(1)    http://git-secret.io/git-secret-init,     git-se‐
41       cret-tell(1)  http://git-secret.io/git-secret-tell,  git-secret-hide(1)
42       http://git-secret.io/git-secret-hide,              git-secret-reveal(1)
43       http://git-secret.io/git-secret-reveal
44
45
46
47sobolevn                           May 2021                  GIT-SECRET-ADD(1)
Impressum