2015-03-25 16:09:49 +00:00
|
|
|
# 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
|
2017-01-30 16:54:32 +00:00
|
|
|
repositories with the same UUID.
|
|
|
|
|
|
|
|
Make sure you run `git annex fsck` after changing the UUID of a
|
|
|
|
repository to make sure location tracking information is recorded
|
|
|
|
correctly.
|
2015-03-25 16:09:49 +00:00
|
|
|
|
2015-09-14 18:49:48 +00:00
|
|
|
Like `git annex init`, this attempts to enable any special remotes
|
|
|
|
that are configured with autoenable=true.
|
|
|
|
|
2021-05-10 19:00:13 +00:00
|
|
|
# OPTIONS
|
|
|
|
|
2023-05-08 19:06:19 +00:00
|
|
|
* `--json`
|
|
|
|
|
|
|
|
Enable JSON output. This is intended to be parsed by programs that use
|
|
|
|
git-annex.
|
|
|
|
|
|
|
|
* `--json-error-messages`
|
|
|
|
|
|
|
|
Messages that would normally be output to standard error are included in
|
|
|
|
the JSON instead.
|
|
|
|
|
|
|
|
* Also the [[git-annex-common-options]](1) can be used.
|
2021-05-10 19:00:13 +00:00
|
|
|
|
2015-03-25 16:09:49 +00:00
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
[[git-annex]](1)
|
|
|
|
|
2015-05-29 16:12:55 +00:00
|
|
|
[[git-annex-init]](1)
|
|
|
|
|
2017-01-17 19:33:36 +00:00
|
|
|
[[git-annex-fsck]](1)
|
|
|
|
|
2015-03-25 16:09:49 +00:00
|
|
|
# AUTHOR
|
|
|
|
|
|
|
|
Joey Hess <id@joeyh.name>
|
|
|
|
|
|
|
|
Warning: Automatically converted into a man page by mdwn2man. Edit with care.
|