1GIT-SECRET-ADD(1) git-secret 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.
13
14 When adding files to encrypt, ensure that they are ignored by git by
15 mentioning them in .gitignore, since they must be secure and not be
16 committed into the remote repository unencrypted.
17
18 If there´s no users in the git-secret´s keyring, when adding a file, an
19 exception will be raised.
20
21 Use the git secret add command to add filenames to this file.
22 It is not recommended to add filenames directly into .gitse‐
23 cret/paths/mapping.cfg.
24
25 (See git-secret(7) http://git-secret.io/git-secret for information
26 about renaming the .gitsecret folder using the SECRETS_DIR environment
27 variable.
28
30 -i - adds given files to `.gitignore` if they´re not there already
31 -h - shows this help.
32
34 Run man git-secret-add to see this note.
35
37 git-secret-init(1) http://git-secret.io/git-secret-init,
38 git-secret-tell(1) http://git-secret.io/git-secret-tell,
39 git-secret-hide(1) http://git-secret.io/git-secret-hide,
40 git-secret-reveal(1) http://git-secret.io/git-secret-reveal
41
42
43
44sobolevn August 2018 GIT-SECRET-ADD(1)