1git-annex-reinit(1) General Commands Manual git-annex-reinit(1)
2
3
4
6 git-annex-reinit - initialize repository, reusing old UUID
7
9 git annex reinit uuid|description
10
12 Normally, initializing a repository generates a new, unique identifier
13 (UUID) for that repository. Occasionally it may be useful to reuse a
14 UUID -- for example, if a repository got deleted, and you're setting it
15 back up.
16
17 Use this with caution; it can be confusing to have two existing reposi‐
18 tories with the same UUID.
19
20 Make sure you run git annex fsck after changing the UUID of a reposi‐
21 tory to make sure location tracking information is recorded correctly.
22
23 Like git annex init, this attempts to enable any special remotes that
24 are configured with autoenable=true.
25
27 --json
28
29 Enable JSON output. This is intended to be parsed by programs
30 that use git-annex.
31
32 --json-error-messages
33 Messages that would normally be output to standard error are in‐
34 cluded in the JSON instead.
35
36 Also the git-annex-common-options(1) can be used.
37
39 git-annex(1)
40
41 git-annex-init(1)
42
43 git-annex-fsck(1)
44
46 Joey Hess <id@joeyh.name>
47
48 git-annex-reinit(1)