summaryrefslogtreecommitdiff
path: root/doc/git-annex-reinject.mdwn
blob: f5019e4b5df3163deceef02e544b0e4a7b1aca72 (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.

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)

[[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.