1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 12:35:24 +02:00

git-secret: add page (#6589)

This commit is contained in:
Tsvetomir Bonev 2021-09-26 18:56:58 +03:00 committed by GitHub
parent dceaee6b1a
commit ac20da70b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,36 @@
# git secret
> Bash tool which stores private data inside a Git repository.
> More information: <https://github.com/sobolevn/git-secret>.
- 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`