1GIT-SECRET-ADD(1) git-secret 0.3.3 GIT-SECRET-ADD(1)
2
3
4
6 git-secret-add - starts to track added files.
7
9 git secret add [-v] [-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 -v - verbose, shows extra information.
33 -i - does nothing, adding paths to .gitignore is now the default behavior.
34 -h - shows this help.
35
37 Run man git-secret-add to see this note.
38
40 git-secret-init(1) http://git-secret.io/git-secret-init,
41 git-secret-tell(1) http://git-secret.io/git-secret-tell,
42 git-secret-hide(1) http://git-secret.io/git-secret-hide,
43 git-secret-reveal(1) http://git-secret.io/git-secret-reveal
44
45
46
47sobolevn November 2020 GIT-SECRET-ADD(1)