2015-03-23 22:20:42 +00:00
|
|
|
# NAME
|
|
|
|
|
|
|
|
git-annex init - initialize git-annex
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
|
|
|
git annex init `[description]`
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
Until a repository (or one of its remotes) has been initialized,
|
|
|
|
git-annex will refuse to operate on it, to avoid accidentally
|
|
|
|
using it in a repository that was not intended to have an annex.
|
|
|
|
|
|
|
|
It's useful, but not mandatory, to initialize each new clone
|
|
|
|
of a repository with its own description. If you don't provide one,
|
|
|
|
one will be generated using the username, hostname and the path.
|
|
|
|
|
2015-09-14 18:49:48 +00:00
|
|
|
If any special remotes were configured with autoenable=true,
|
|
|
|
this will also attempt to enable them. See [[git-annex-initremote]](1).
|
|
|
|
To disable this, re-enable a remote with "autoenable=false", or
|
|
|
|
mark it as dead (see [[git-annex-dead]](1)).
|
|
|
|
|
|
|
|
This command is entirely safe, although usually pointless, to run inside an
|
|
|
|
already initialized git-annex repository.
|
2017-12-13 18:34:32 +00:00
|
|
|
|
|
|
|
A top-level `.noannex` file will prevent git-annex init from being used
|
|
|
|
in a repository. This is useful for repositories that have a policy
|
|
|
|
reason not to use git-annex. The content of the file will be displayed
|
|
|
|
to the user who tries to run git-annex init.
|
2015-09-14 18:49:48 +00:00
|
|
|
|
2015-12-15 21:17:13 +00:00
|
|
|
# OPTIONS
|
|
|
|
|
|
|
|
* `--version=N`
|
|
|
|
|
|
|
|
Force the repository to be initialized using a different annex.version
|
|
|
|
than the current default.
|
|
|
|
|
2020-02-24 17:21:00 +00:00
|
|
|
When the version given is one that automatically upgrades to a newer
|
|
|
|
version, it will automatically use the newer version instead.
|
|
|
|
|
2015-03-23 22:20:42 +00:00
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
[[git-annex]](1)
|
|
|
|
|
2015-05-29 16:12:55 +00:00
|
|
|
[[git-annex-describe]](1)
|
|
|
|
|
|
|
|
[[git-annex-reinit]](1)
|
|
|
|
|
|
|
|
git-init(1)
|
|
|
|
|
2015-03-23 22:20:42 +00:00
|
|
|
# AUTHOR
|
|
|
|
|
|
|
|
Joey Hess <id@joeyh.name>
|
|
|
|
|
|
|
|
Warning: Automatically converted into a man page by mdwn2man. Edit with care.
|