Editing Git-crypt
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
* https://github.com/AGWA/git-crypt | * https://github.com/AGWA/git-crypt | ||
− | * Installation: <code>[[brew install git-crypt | + | * Installation: <code>[[brew install]] git-crypt</code> |
− | + | 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 == | == Related == | ||
* [[Encryption]]: <code>[[ansible-vault encrypt]]</code> | * [[Encryption]]: <code>[[ansible-vault encrypt]]</code> | ||
− | |||
== See also == | == See also == | ||
− | * {{git | + | * {{git}} |
− | |||
[[Category:Git]] | [[Category:Git]] |
Advertising: