snippetbashTip
git secret — Stores private data inside a Git repository. Written in Bash. More information: <https://github.com/
Viewed 0 times
commandgitclidatagit secretstoresinsideprivate
Problem
How to use the
git secret command: Stores private data inside a Git repository. Written in Bash. More information: <https://github.com/sobolevn/git-secret>.Solution
git secret — Stores private data inside a Git repository. Written in Bash. More information: <https://github.com/sobolevn/git-secret>.Initialize
git-secret in a local repository:git secret initGrant access to the current Git user's email:
git secret tell -mGrant access by email:
git secret tell {{email}}Revoke access by email:
git secret killperson {{email}}List emails with access to secrets:
git secret whoknowsRegister a secret file:
git secret add {{path/to/file}}Encrypt secrets:
git secret hideDecrypt secret files:
git secret revealCode Snippets
Initialize `git-secret` in a local repository
git secret initGrant access to the current Git user's email
git secret tell -mGrant access by email
git secret tell {{email}}Revoke access by email
git secret killperson {{email}}List emails with access to secrets
git secret whoknowsContext
tldr-pages: common/git secret
Revisions (0)
No revisions yet.