Skip to main content
Manage named storage locations for large-file objects. Reads show the ; changes use project scope unless you pass --global or --local.
Adding a remote does not choose a default. Run gat remote default NAME, or use --remote NAME for one transfer. Gat remotes are separate from Git remotes.
Updates and removals must target the defining scope. To override a project remote on one machine, add the same name with --local.
Gat supports file://, s3://, azblob://, gcs://, and oss:// when enabled in the build. Use single-quoted ${VAR} references for URL secrets. Read-only commands redact sensitive values without expanding templates or contacting storage. Redaction does not remove secrets from the saved file.File remotes accept only the optional root query setting. Uploads publish by atomic rename and may replace an existing object at the same key.See Remote providers for authentication and Set up a remote for a complete workflow.

Usage

Subcommands

gat remote default

gat remote list

gat remote add

gat remote update

gat remote remove

gat remote show

gat remote add

Add a storage URL in the selected scope. Configure provider credentials before transferring objects.

Usage

Examples

Configure S3-compatible object storage.

gat remote default

Show or choose the optional default remote. Adding a remote never chooses a default. —unset restores inheritance from lower layers.

Usage

Examples

Selects a previously configured remote.

gat remote list

List remotes, their defining scopes, and the effective default.

Usage

Examples

Show configured remotes after applying scope overrides.

gat remote remove

Remove a remote definition. Change or unset references to it first.

Usage

Examples

Delete the named remote. gat remote rm archive is also accepted.

gat remote show

Show the redacted URL, default status, and defining scope without contacting storage.

Usage

Examples

Show the redacted URL, default status, and defining scope.

gat remote update

Change a saved URL in its defining scope. Omit --url to preserve it.

Usage

Examples

Update one named endpoint.