summaryrefslogtreecommitdiff
path: root/doc/git-annex-reinit.mdwn
blob: 52bca57dce8075dd9cfb21224e1fa40df66c747c (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
37
# NAME

git-annex reinit - initialize repository, reusing old UUID

# SYNOPSIS

git annex reinit `uuid|description`

# DESCRIPTION

Normally, initializing a repository generates a new, unique identifier
(UUID) for that repository. Occasionally it may be useful to reuse a
UUID -- for example, if a repository got deleted, and you're
setting it back up.

Use this with caution; it can be confusing to have two existing
repositories with the same UUID. It can lead to data loss and other
weird phenomenons. Make sure you run `git annex fsck` after changing
the UUID of a repository to make sure location tracking information is
recorded correctly.

Like `git annex init`, this attempts to enable any special remotes
that are configured with autoenable=true.

# SEE ALSO

[[git-annex]](1)

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

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

# AUTHOR

Joey Hess <id@joeyh.name>

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