2019-04-16 16:25:49 +00:00
|
|
|
# NAME
|
|
|
|
|
|
|
|
git-annex renameremote - changes name of a special remote
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
|
|
|
git annex renameremote `name|uuid|desc newname`
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
Changes the name that is used to enable a special remote.
|
|
|
|
|
2019-10-10 17:08:17 +00:00
|
|
|
Normally the current name is used to identify the special remote to rename,
|
2019-04-16 16:25:49 +00:00
|
|
|
but its uuid or description can also be used.
|
|
|
|
|
|
|
|
This is especially useful when an old special remote used a name, and now you
|
|
|
|
want to use that name for a new special remote. `git annex initremote`
|
|
|
|
won't let you create a remote with a conflicting name, so rename the old
|
|
|
|
remote first.
|
|
|
|
|
|
|
|
git annex renameremote phone lost-phone
|
|
|
|
git annex initremote phone ...
|
|
|
|
|
|
|
|
This only updates the name that git-annex has stored for use
|
|
|
|
by `git annex enableremote`. It does not update the git config stanza
|
|
|
|
for the special remote to use the new name, but of course you can edit
|
|
|
|
the git config if you want to rename it there.
|
|
|
|
|
2021-05-10 19:00:13 +00:00
|
|
|
# OPTIONS
|
|
|
|
|
|
|
|
* The [[git-annex-common-options]](1) can be used.
|
|
|
|
|
2019-04-16 16:25:49 +00:00
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
[[git-annex]](1)
|
|
|
|
|
|
|
|
[[git-annex-initremote]](1)
|
|
|
|
|
|
|
|
[[git-annex-enableremote]](1)
|
|
|
|
|
2023-04-18 19:30:49 +00:00
|
|
|
[[git-annex-configremote]](1)
|
|
|
|
|
2019-04-16 16:25:49 +00:00
|
|
|
# AUTHOR
|
|
|
|
|
|
|
|
Joey Hess <id@joeyh.name>
|
|
|
|
|
|
|
|
Warning: Automatically converted into a man page by mdwn2man. Edit with care.
|