From ac20da70b329b1ee2605d424551c2b2789c6b34f Mon Sep 17 00:00:00 2001 From: Tsvetomir Bonev Date: Sun, 26 Sep 2021 18:56:58 +0300 Subject: [PATCH] git-secret: add page (#6589) --- pages/common/git-secret.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/git-secret.md diff --git a/pages/common/git-secret.md b/pages/common/git-secret.md new file mode 100644 index 0000000000..ccd15a8f5e --- /dev/null +++ b/pages/common/git-secret.md @@ -0,0 +1,36 @@ +# git secret + +> Bash tool which stores private data inside a Git repository. +> More information: . + +- Initialize `git-secret` in a local repository: + +`git secret init` + +- Grant access to the current Git user's email: + +`git secret tell -m` + +- Grant access by email: + +`git secret tell {{email}}` + +- Revoke access by email: + +`git secret killperson {{email}}` + +- List emails with access to secrets: + +`git secret whoknows` + +- Register a secret file: + +`git secret add {{path/to/file}}` + +- Encrypt secrets: + +`git secret hide` + +- Decrypt secret files: + +`git secret reveal`