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/push.md.

gage push

The gage push command sends objects to a remote. Everything an object links goes with it: a scan’s dataset, sessions, notes, issues, and agent sessions. The whole store is sent only by gage backup.

gage push [OPTIONS] <REPOSITORY> [OBJECTS]...

REPOSITORY is a remote name from gage remote add, or any Git URL or path. Objects are tag names, object IDs, or unique ID prefixes. With no objects, the command pushes the objects the remote records as its push default.

OptionDescription
--with-notesAlso push notes that target the named objects
--forceReplace remote commits this store has not fetched
-y, --yesSkip confirmation prompt

A deleted object, a republished session, and a share that lost a deleted member replace what the remote holds. When the remote holds a commit this store has not fetched, the push stops. --force replaces that commit and nothing else.

An object that links a session fetched from a remote and not merged is withheld. A push whose objects include a withheld one stops before anything is sent. See gage scan --stored-remote.

To copy data in the other direction, see gage pull.