1GIT-SECRET-INIT(1)          git-secret 0.5.0-alpha2         GIT-SECRET-INIT(1)
2
3
4

NAME

6       git-secret-init - initializes git-secret repository.
7

SYNOPSIS

9       git secret init
10

DESCRIPTION

12       git-secret-init - initializes a git-secret repo by setting up a .gitse‐
13       cret directory.
14
15       git-secret-init should be run inside a git repo, to create the  .gitse‐
16       cret  directory and initialize the repo for git-secret. Until a reposi‐
17       tory is initialized with git secret init, all other git-secret commands
18       are unavailable.
19
20       If a .gitsecret directory already exists, git-secret-init exits without
21       making any changes. Otherwise,
22
23.gitignore is modified to ignore git-secret´s random_seed_file, and
24           to not ignore .secret files,
25
26       •   a  .gitsecret  directory  is created with the sub-directories /keys
27           and /paths,
28
29       •   The .gitsecret/keys subdirectory permission is set to 700  to  make
30           gnupg happy.
31
32
33
34       See   git-secret(7)  https://git-secret.io/git-secret  for  information
35       about renaming the .gitsecret folder with the  SECRETS_DIR  environment
36       variable,  and  changing the extension git-secret uses for secret files
37       with the SECRETS_EXTENSION environment variable.
38

OPTIONS

40       -h  - shows this help.
41

MANUAL

43       Run man git-secret-init to see this document.
44

SEE ALSO

46       git-secret-usage(1)   https://git-secret.io/git-secret-usage,   git-se‐
47       cret-tell(1) https://git-secret.io/git-secret-tell
48
49
50
51sobolevn                          April 2022                GIT-SECRET-INIT(1)
Impressum