SwarmOps
ReferenceCommandsswarmops remote remove

Page kind: Reference

swarmops remote remove#

Describes v0.11.0Last changed View as Markdown

Forget a git remote, and the mirror's refs of it; no changeset is removed.

Metadata
Group
remotes
Since
0.2.0
Mutates
yes
Identity required
no
MCP tool
none
Envelope op
remote_remove
Exit codes
0
Errors
none

Syntax#

Syntax
swarmops remote remove [OPTIONS] <NAME>

Required arguments#

Syntax: <NAME>.

The remote's name.

Optional arguments#

The command also takes the global options.

Examples#

No recorded example yet.

Return information#

result is a RemoteRemoveResp (swarmops schema RemoteRemoveResp prints its JSON Schema).

FieldTypeRequiredDescription
namestringyesThe remote's name.
removed_refsintegeryesHow many of the mirror's refs of the remote were removed.

Envelope op: remote_remove.

Exit codes:

  • 0: Success.

Errors#

No golden step shows this command failing yet.

Any command that opens a store may also fail with a store error, such as E_NOT_A_REPO, E_IO or E_STORE_CORRUPT; a command line the grammar refuses is E_INVALID_ARG (exit 2).

See also#

On this page