diff options
author | Joey Hess <joey@kitenet.net> | 2010-10-25 20:19:08 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-25 20:19:08 -0400 |
commit | fec9f611df1a5e973f4847ac71fe85bd85abdff4 (patch) | |
tree | 6e07ded9b85a030c3e6166688b2f968d6985167f /doc | |
parent | a0e8ba37c69a7ce69a6bca42b4e4a20d046b3566 (diff) |
add setkey subcommand
And finished implementing move --to
Diffstat (limited to 'doc')
-rw-r--r-- | doc/git-annex.mdwn | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index e7057afee..cba634f20 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -118,11 +118,20 @@ Many git-annex subcommands will stage changes for later `git commit` by you. * dropkey [key ...] - Drops the cached data for the specified keys from this repository. + Drops the annexed data for the specified keys from this repository. This can be used to drop content for arbitrary keys, which do not need to have a file in the git repository pointing at them. +* setkey file + + Sets the annxed data for a key to the content of the specified file, + and then removes the file. + + Example: + + git annex setkey --key=1287765018:3 /tmp/file + # OPTIONS * --force |