From 5d6c7bccb3037633dc3360dcc22639adb5fe5793 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 2 Jul 2015 17:44:25 -0400 Subject: Brought back the setkey plumbing command that was removed in 2011, since we found a use case for it. Note that the command's syntax was changed for consistency. --- doc/git-annex-setkey.mdwn | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 doc/git-annex-setkey.mdwn (limited to 'doc/git-annex-setkey.mdwn') diff --git a/doc/git-annex-setkey.mdwn b/doc/git-annex-setkey.mdwn new file mode 100644 index 000000000..439984c2b --- /dev/null +++ b/doc/git-annex-setkey.mdwn @@ -0,0 +1,30 @@ +# NAME + +git-annex setkey - sets annexed content for a key + +# SYNOPSIS + +git annex setkey key file + +# DESCRIPTION + +This plumbing-level command makes the content of the specified key +be set to the specified file. The file is moved into the annex. + +No checking is done that the file contains the expected contents of the key. +So it's generally a better idea to use [[git-annex-reinject]](1) instead of +this command. + +# SEE ALSO + +[[git-annex]](1) + +[[git-annex-reinject]](1) + +[[git-annex-dropkey]](1) + +# AUTHOR + +Joey Hess + +Warning: Automatically converted into a man page by mdwn2man. Edit with care. -- cgit v1.2.3