summaryrefslogtreecommitdiff
path: root/doc/git-annex.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-10-31 15:18:41 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-10-31 15:18:41 -0400
commit3d3e1c4c25f4bbefd0f5e3f445444f3293875a93 (patch)
tree0331686878d92d8fc082875c605cc1245ef9beba /doc/git-annex.mdwn
parent09861cf4f75e2bb9e5597f8b9ea39ab4a33bf4d8 (diff)
better command name
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r--doc/git-annex.mdwn11
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index 42997e534..fdd8dd1c1 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -274,19 +274,18 @@ subdirectories).
However, if a backend changes the information it uses to construct a key,
this can also be used to migrate files to use the new key format.
-* setcontent src dest
+* reinject src dest
- Makes the dest file, which must already be tracked by git-annex have the
- content of the src file. The src file is removed. This can be useful if you
- have obtained the content of a file from elsewhere and want to put it in
- the local annex.
+ Moves the src file into the annex as the content of the dest file.
+ 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 setcontent /tmp/foo.iso foo.iso
+ git annex reinject /tmp/foo.iso foo.iso
* unannex [path ...]