Update cheatsheets

This commit is contained in:
ivuorinen
2024-10-02 00:17:10 +00:00
parent c03ad03251
commit 6db54f9410
23 changed files with 500 additions and 1 deletions

26
tldr/yadm-git-crypt Executable file
View File

@@ -0,0 +1,26 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# yadm git-crypt
> Git Crypt enables transparent encryption and decryption of files in a git repository.
> See also: `git-crypt`.
> More information: <https://github.com/AGWA/git-crypt>.
- Initialize repo to use Git Crypt:
`yadm git-crypt init`
- Share the repository using GPG:
`yadm git-crypt add-gpg-user {{user_id}}`
- After cloning a repository with encrypted files, unlock them:
`yadm git-crypt unlock`
- Export a symmetric secret key:
`yadm git-crypt export-key {{path/to/key_file}}`