summaryrefslogtreecommitdiff
path: root/doc/git-annex-reinject.mdwn
blob: fb175015bee43ab7bb7d031d6dd46e192ed5ae95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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.

Verifies that the src file's content matches with the content that the dest
file is expected to have, and refuses to reinject it otherwise.

Example:

	git annex reinject /tmp/foo.iso foo.iso

# SEE ALSO

[[git-annex]](1)

[[git-annex-add]](1)

[[git-annex-fsck]](1)

# AUTHOR

Joey Hess <id@joeyh.name>

Warning: Automatically converted into a man page by mdwn2man. Edit with care.