Git Secret Cheatsheet
ยท
131 words
ยท
1 minute read
git secret stores private data inside a Git repository. Written in Bash.
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
For more information, check the repo: https://github.com/sobolevn/git-secret .
I hope this post helps you. If you know a person who can benefit from this information, send them a link of this post. If you want to get notified about new posts, follow me on YouTube , Twitter (x) , LinkedIn , and GitHub .