2015-03-23 22:20:42 +00:00
|
|
|
# NAME
|
|
|
|
|
|
|
|
git-annex initremote - creates a special (non-git) remote
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
|
|
|
git annex initremote `name type=value [param=value ...]`
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
Creates a new special remote, and adds it to `.git/config`.
|
|
|
|
|
|
|
|
Example Amazon S3 remote:
|
|
|
|
|
|
|
|
git annex initremote mys3 type=S3 encryption=hybrid keyid=me@example.com datacenter=EU
|
|
|
|
|
|
|
|
Many different types of special remotes are supported by git-annex.
|
|
|
|
For a list and details, see <https://git-annex.branchable.com/special_remotes/>
|
|
|
|
|
|
|
|
The remote's configuration is specified by the parameters passed
|
|
|
|
to this command. Different types of special remotes need different
|
|
|
|
configuration values. The command will prompt for parameters as needed.
|
|
|
|
|
2016-05-24 18:38:59 +00:00
|
|
|
All special remotes support encryption. You can specify
|
2015-03-23 22:20:42 +00:00
|
|
|
`encryption=none` to disable encryption, or specify
|
|
|
|
`encryption=hybrid keyid=$keyid ...` to specify a GPG key id (or an email
|
2016-05-24 18:38:59 +00:00
|
|
|
address associated with a key). For details about ways to configure
|
|
|
|
encryption, see <https://git-annex.branchable.com/encryption/>
|
2015-03-23 22:20:42 +00:00
|
|
|
|
2015-09-14 18:49:48 +00:00
|
|
|
If you anticipate using the new special remote in other clones of the
|
|
|
|
repository, you can pass "autoenable=true". Then when [[git-annex-init]](1)
|
|
|
|
is run in a new clone, it will attempt to enable the special remote. Of
|
|
|
|
course, this works best when the special remote does not need anything
|
|
|
|
special to be done to get it enabled.
|
|
|
|
|
2015-03-23 22:20:42 +00:00
|
|
|
# OPTIONS
|
|
|
|
|
|
|
|
* `--fast`
|
|
|
|
|
|
|
|
When initializing a remote that uses encryption, a cryptographic key is
|
|
|
|
created. This requires sufficient entropy. If initremote seems to hang
|
|
|
|
or take a long time while generating the key, you may want to Ctrl-c it
|
|
|
|
and re-run with `--fast`, which causes it to use a lower-quality source of
|
|
|
|
randomness. (Ie, /dev/urandom instead of /dev/random)
|
|
|
|
|
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
[[git-annex]](1)
|
|
|
|
|
2015-05-29 16:12:55 +00:00
|
|
|
[[git-annex-enableremote]](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.
|