Difference between revisions of "Git-crypt --help"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
<pre>
+
 
 
  Usage: git-crypt COMMAND [ARGS ...]
 
  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
 
    
 
    
Common commands:
+
  GPG commands:
  init                generate a key and prepare repo to use git-crypt
+
    add-gpg-user USERID  add the user with the given GPG user ID as a collaborator
  status              display which files are encrypted
+
    [[unlock]]              decrypt this repo using the in-repo GPG-encrypted key
  lock                de-configure git-crypt and re-encrypt files in work tree
+
 
+
  Symmetric key commands:
GPG commands:
+
    export-key FILE      export this repo's symmetric key to the given file
  add-gpg-user USERID  add the user with the given GPG user ID as a collaborator
+
    unlock KEYFILE      decrypt this repo using the given symmetric key  
  [[unlock]]              decrypt this repo using the in-repo GPG-encrypted key
+
 
+
  Legacy commands:
Symmetric key commands:
+
    init KEYFILE        alias for 'unlock KEYFILE'
  export-key FILE      export this repo's symmetric key to the given file
+
    keygen KEYFILE      generate a git-crypt key in the given file
  unlock KEYFILE      decrypt this repo using the given symmetric key  
+
    migrate-key OLD NEW  migrate the legacy key file OLD to the new format in NEW
+
 
Legacy commands:
+
  See 'git-crypt help COMMAND' for more information on a specific command.
  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.
 
</pre>
 
  
 
== See also ==
 
== See also ==

Revision as of 11:53, 26 April 2022

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.

See also

Advertising: