titan remote add

Add a new remote. For more information on managing remotes, see the Adding and Removing Remotes section.

Syntax

titan remote add [-r remote] [-p key=value ...] <uri> <repository>

Arguments

repository

Required. The name of the target repository.

uri

Required. The remote URI to use. For more information on URI format, see the provider sections under the Remote Repositories section.

Options

-r, --remote

remote Optional remote name. If not provided, then the name ‘origin’ is assumed.

-p, --parameters string

Key=Value pair for provider specific options.

Example

$ titan remote add -r upstream s3://titan-data-demo/hello-world/postgres hello-world
$ titan remote add -r ssh -p keyFle=id_rsa ssh://user@host/hello-world hello-world