Difference between revisions of "Git-crypt"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
* Installation: <code>[[brew install]] git-crypt</code> | * Installation: <code>[[brew install]] git-crypt</code> | ||
− | |||
− | |||
− | |||
− | Common commands: | + | git-crypt --help |
− | + | Usage: git-crypt COMMAND [ARGS ...] | |
− | + | ||
− | + | Common commands: | |
− | + | init generate a key and prepare repo to use git-crypt | |
− | GPG commands: | + | status display which files are encrypted |
− | + | lock de-configure git-crypt and re-encrypt files in work tree | |
− | + | ||
− | + | GPG commands: | |
− | Symmetric key commands: | + | add-gpg-user USERID add the user with the given GPG user ID as a collaborator |
− | + | [[unlock]] decrypt this repo using the in-repo GPG-encrypted key | |
− | + | ||
− | + | Symmetric key commands: | |
− | Legacy commands: | + | export-key FILE export this repo's symmetric key to the given file |
− | + | unlock KEYFILE decrypt this repo using the given symmetric key | |
− | + | ||
− | + | Legacy commands: | |
− | + | init KEYFILE alias for 'unlock KEYFILE' | |
− | See 'git-crypt help COMMAND' for more information on a specific command. | + | keygen KEYFILE generate a git-crypt key in the given file |
− | + | migrate-key OLD NEW migrate the legacy key file OLD to the new format in NEW | |
+ | |||
+ | See 'git-crypt help COMMAND' for more information on a specific command. | ||
== Related == | == Related == |
Revision as of 07:46, 11 April 2022
git-crypt
enables transparent encryption and decryption of files in a git repository
- Installation:
brew install git-crypt
git-crypt --help Usage: git-crypt COMMAND [ARGS ...] Common commands: init generate a key and prepare repo to use git-crypt status display which files are encrypted lock de-configure git-crypt and re-encrypt files in work tree GPG commands: add-gpg-user USERID add the user with the given GPG user ID as a collaborator unlock decrypt this repo using the in-repo GPG-encrypted key Symmetric key commands: export-key FILE export this repo's symmetric key to the given file unlock KEYFILE decrypt this repo using the given symmetric key Legacy commands: init KEYFILE alias for 'unlock KEYFILE' keygen KEYFILE generate a git-crypt key in the given file migrate-key OLD NEW migrate the legacy key file OLD to the new format in NEW See 'git-crypt help COMMAND' for more information on a specific command.
Related
See also
git
: [config | init | status ]
,git add
,git rm
,git commit
,git push, git pull
,.gitconfig
,.gitignore
,git
(clone
,fetch
,pull
),git tag
,git log
,git blame
, Merge Request, LFS,git branch
,git apply
,git rebase
,git diff
,git diff-tree
,git config --global
,remote | submodule | request-pull
,GIT_TRACE, GIT_CURL_VERBOSE
,clean
,main
,git show-ref
,git reset
,git prune
,git ls-remote origin
,git checkout
,git switch
,pathspec
,git credential-osxkeychain
,git version
,pre-commit
,git --help
, GitBook,refs/
Advertising: