mirror of https://github.com/sobolevn/git-secret
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.1 KiB
Markdown
36 lines
1.1 KiB
Markdown
9 years ago
|
git-secret-init - initializes git-secret repository.
|
||
|
====================================================
|
||
|
|
||
|
## SYNOPSIS
|
||
|
|
||
|
git secret init
|
||
|
|
||
|
|
||
|
## DESCRIPTION
|
||
7 years ago
|
`git-secret-init` should be run inside a `git` repo to set up the .gitsecret directory and initialize the repo for git-secret.
|
||
|
Until repository is initialized with `git secret init`, all other `git-secret` commands are unavailable.
|
||
9 years ago
|
|
||
6 years ago
|
If a .gitsecret directory already exists, `git-secret-init` exits without making any changes.
|
||
|
Otherwise, a .gitsecret directory is created with appropriate sub-directories,
|
||
|
and patterns to ignore git-secret's `random_seed_file`
|
||
|
and not ignore `.secret` files are added to `.gitignore`.
|
||
|
|
||
6 years ago
|
(See [git-secret(7)](http://git-secret.io/git-secret) for information about renaming the .gitsecret
|
||
6 years ago
|
folder with the SECRETS_DIR environment variable, and changing the extension git-secret uses for secret files
|
||
|
with the SECRETS_EXTENSION environment variable.
|
||
6 years ago
|
|
||
9 years ago
|
|
||
9 years ago
|
## OPTIONS
|
||
|
|
||
|
-h - shows this help.
|
||
|
|
||
|
|
||
8 years ago
|
## MANUAL
|
||
|
|
||
|
Run `man git-secret-init` to see this note.
|
||
|
|
||
|
|
||
9 years ago
|
## SEE ALSO
|
||
|
|
||
8 years ago
|
[git-secret-usage(1)](http://git-secret.io/git-secret-usage), [git-secret-tell(1)](http://git-secret.io/git-secret-tell)
|