diff options
Diffstat (limited to 'doc/git-annex-reinject.mdwn')
-rw-r--r-- | doc/git-annex-reinject.mdwn | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/git-annex-reinject.mdwn b/doc/git-annex-reinject.mdwn new file mode 100644 index 000000000..bc4b32d91 --- /dev/null +++ b/doc/git-annex-reinject.mdwn @@ -0,0 +1,32 @@ +# NAME + +git-annex reinject - sets content of annexed file + +# SYNOPSIS + +git annex reinject `src dest` + +# DESCRIPTION + +Moves the src file into the annex as the content of the dest file, +which should be an already annexed file whose content is not present. + +This can be useful if you have obtained the content of a file from +elsewhere and want to put it in the local annex. + +Automatically runs fsck on dest to check that the expected content was +provided. + +Example: + + git annex reinject /tmp/foo.iso foo.iso + +# SEE ALSO + +[[git-annex]](1) + +# AUTHOR + +Joey Hess <id@joeyh.name> + +Warning: Automatically converted into a man page by mdwn2man. Edit with care. |