For AI agents: the complete documentation index is available at https://docs.gage.io/llms.txt, the full documentation bundle is available at https://docs.gage.io/llms-full.txt, and this page is available as Markdown at https://docs.gage.io/commands/remote.md.

gage remote

The gage remote command manages remotes. A remote is a Git repository the store pushes to, fetches from, or backs up to. See gage push, gage fetch, gage merge, gage pull, and gage backup.

gage remote <COMMAND>

remote add

Add a remote.

gage remote add [OPTIONS] <NAME> <URL>

URL is any Git URL or path. A project’s own repository is a valid remote. What Gage stores there is not transferred by a clone or seen by a checkout.

OptionDescription
--push <OBJECT>Object to push, as a tag, ID, or prefix (repeatable). gage push sends these objects, and everything they link, when no object is named.
--fetch <OBJECT>Object to fetch, as a tag, ID, or prefix (repeatable). gage fetch, gage merge, and gage pull take these objects, and everything they link, when no object is named.
--backupMark the remote as a backup target. gage backup sends the whole store to a backup target and refuses any other remote.
-y, --yesSkip confirmation prompt

Each --push and --fetch object is recorded as given. It is resolved when pushed, or against what the remote has when fetched.

remote list

List remotes.

gage remote list

remote edit

Edit a remote. Each option changes what the remote recorded for it. What no option names is left as it is. At least one option is required.

gage remote edit [OPTIONS] <NAME>
OptionDescription
--url <URL>Replace the remote URL
--backupMark the remote as a backup target
--no-backupClear the backup target mark
--push <OBJECT>Replace the objects gage push sends when no object is named (repeatable)
--add-push <OBJECT>Add an object to push (repeatable)
--remove-push <OBJECT>Remove an object to push (repeatable)
--no-pushClear the objects to push
--fetch <OBJECT>Replace the objects gage fetch, gage merge, and gage pull take when no object is named (repeatable)
--add-fetch <OBJECT>Add an object to fetch (repeatable)
--remove-fetch <OBJECT>Remove an object to fetch (repeatable)
--no-fetchClear the objects to fetch
-y, --yesSkip confirmation prompt

An OBJECT is a tag, an ID, or an ID prefix. --push cannot be combined with --add-push, --remove-push, or --no-push, and --fetch follows the same rule. Removing an object the remote does not record is an error.

remote rename

Rename a remote. The remote keeps its URL, its settings, and what it tracked. Nothing on the remote is changed.

gage remote rename [OPTIONS] <NAME> <NEW_NAME>
OptionDescription
-y, --yesSkip confirmation prompt

remote delete

Delete remotes. The remote and what it tracked are removed locally. Nothing on the remote is changed.

gage remote delete [OPTIONS] <NAMES>...
OptionDescription
-y, --yesSkip confirmation prompt