1GIT-SECRET-ADD(1) git-secret 0.3.2 GIT-SECRET-ADD(1)
2
3
4
6 git-secret-add - starts to track added files.
7
9 git secret add [-i] <pathspec>...
10
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
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. 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
32 -i - does nothing, adding paths to .gitignore is now the default behavior.
33 -h - shows this help.
34
36 Run man git-secret-add to see this note.
37
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 September 2019 GIT-SECRET-ADD(1)