--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.--local.
URL templates and storage options
URL templates and storage options
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
All options
All options
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
All options
All options
Examples
- S3
- Azure Blob
- Local directory
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
All options
All options
Examples
Selects a previously configured remote.gat remote list
List remotes, their defining scopes, and the effective default.Usage
All options
All options
Examples
Show configured remotes after applying scope overrides.gat remote remove
Remove a remote definition. Change or unset references to it first.Usage
All options
All options
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
All options
All options
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
All options
All options

