Skip to main content

Git Remotes

Git Remotes

Active + Optional Key

Name one fallback remote and separate authoritative destinations from mirrors or archives.

Command[tool.custy.git]

Category

Git Configuration

Quick Command

[tool.custy.git]

originprimarybackup

Properties​

Properties

PropertyTypeDescriptionDefaultRequired
default_remoteRemote name stringFallback when a main-group push has no main_remotes and no explicit --remote. Use a name reported by git remote, not a URL.originNo
main_remotesRemote name arrayAuthoritative destinations for group-aware push flows.["origin"]No
backup_remotesRemote name arrayOptional mirror or archive destinations for group-aware push flows. Supported but commented out in the generated file.[]No
Multi-host setup
toml
[tool.custy.git]
default_remote = "origin"
main_remotes = ["origin", "gitlab"]
backup_remotes = ["mirror"]

Continue