enableremote: List uuids and descriptions of remotes that can be enabled, and accept either the uuid or the description in leu if the name.
This commit is contained in:
parent
016904f424
commit
640dba43b6
7 changed files with 75 additions and 25 deletions
|
@ -4,7 +4,7 @@ git-annex enableremote - enables use of an existing special remote
|
|||
|
||||
# SYNOPSIS
|
||||
|
||||
git annex enableremote `name [param=value ...]`
|
||||
git annex enableremote `name|uuid|desc [param=value ...]`
|
||||
|
||||
# DESCRIPTION
|
||||
|
||||
|
@ -15,7 +15,8 @@ originally created with the initremote command.
|
|||
The name of the remote is the same name used when originally
|
||||
creating that remote with `git annex initremote`. Run
|
||||
`git annex enableremote` without any name to get a list of
|
||||
special remote names.
|
||||
special remote names. Or you can specify the uuid or description of the
|
||||
remote.
|
||||
|
||||
Some special remotes may need parameters to be specified every time they are
|
||||
enabled. For example, the directory special remote requires a directory=
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 26"""
|
||||
date="2015-10-26T17:36:26Z"
|
||||
content="""
|
||||
@craig, this can be slightly confusing, since `git-annex enableremote`
|
||||
uses the same name that you used when creating the remote in the first
|
||||
place, with `git-annex initremote`... which might be different than
|
||||
the name used for that remote in some repository or other, and from
|
||||
the description shown in `git annex into`.
|
||||
|
||||
Since every remote listed by `git annex info` is apparently a regular git
|
||||
repo, not a special remote, with the exception of the glacier one, process
|
||||
of deduction suggests that the "gitannexpics" special remote is the same as
|
||||
the glacier one.
|
||||
|
||||
I've made some changes now, so `git annex enableremote` will list the
|
||||
uuid and description, along with the name used by enableremote, and
|
||||
will accept any one of those things to specify which remote to enable.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue