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

NAME

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

SYNOPSIS

9       git secret add [-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.3.0) 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
18       unencrypted.
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.
24       It  is  not  recommended  to  add  filenames  directly   into   .gitse‐
25       cret/paths/mapping.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       -i  - does nothing, adding paths to .gitignore is now the default behavior.
33       -h  - shows this help.
34

MANUAL

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

SEE ALSO

39       git-secret-init(1)                http://git-secret.io/git-secret-init,
40       git-secret-tell(1)                http://git-secret.io/git-secret-tell,
41       git-secret-hide(1)                http://git-secret.io/git-secret-hide,
42       git-secret-reveal(1) http://git-secret.io/git-secret-reveal
43
44
45
46sobolevn                          March 2019                 GIT-SECRET-ADD(1)
Impressum