mirror of
https://github.com/sobolevn/git-secret
synced 2024-11-12 07:10:27 +00:00
eafd3fc531
* Migrate docs to master branch, add action to deploy to pages branch on push * Update docs, build pipeline to reflect new method of updating gh-pages * Removed make build-gh-pages from post-commit hook Co-authored-by: Josh Rabinowitz <joshr@joshr.com>
36 lines
1.1 KiB
Markdown
36 lines
1.1 KiB
Markdown
git-secret-init - initializes git-secret repository.
|
|
====================================================
|
|
|
|
## SYNOPSIS
|
|
|
|
git secret init
|
|
|
|
|
|
## DESCRIPTION
|
|
`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.
|
|
|
|
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`.
|
|
|
|
(See [git-secret(7)](http://git-secret.io/git-secret) for information about renaming the .gitsecret
|
|
folder with the SECRETS_DIR environment variable, and changing the extension git-secret uses for secret files
|
|
with the SECRETS_EXTENSION environment variable.
|
|
|
|
|
|
## OPTIONS
|
|
|
|
-h - shows this help.
|
|
|
|
|
|
## MANUAL
|
|
|
|
Run `man git-secret-init` to see this note.
|
|
|
|
|
|
## SEE ALSO
|
|
|
|
[git-secret-usage(1)](http://git-secret.io/git-secret-usage), [git-secret-tell(1)](http://git-secret.io/git-secret-tell)
|