summaryrefslogtreecommitdiff
path: root/doc/git-annex.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-02-16 16:36:35 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-02-16 16:36:35 -0400
commitdb6b4cdfcf67cfc3fce5e5f4323aa96a6ebd3e59 (patch)
treea65a129d7289b400e1b558e7b6d3c19eefd54f76 /doc/git-annex.mdwn
parentaeaaa0ff87e22c3a5b4c9657544224c9db006cde (diff)
rekey: New plumbing level command, can be used to change the keys used for files en masse.
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r--doc/git-annex.mdwn8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index f13baf79c..992e31c85 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -399,6 +399,14 @@ subdirectories).
git annex dropkey SHA1-s10-7da006579dd64330eb2456001fd01948430572f2
+* rekey [file key ...]
+
+ This plumbing-level command is similar to migrate, but you specify
+ both the file, and the new key to use for it.
+
+ With --force, even files whose content is not currently available will
+ be rekeyed. Use with caution.
+
# OPTIONS
* --force