Skip to main content

Git Push Strategy

Git Push Strategy

Active + Reserved Key

Select main, backup, or all configured groups while keeping auto_push behavior explicit.

Command[tool.custy.git]

Category

Git Configuration

Quick Command

push_to = "main"

mainbackupall

Properties

Properties

PropertyTypeDescriptionDefaultRequired
push_tomain | backup | allSelect main_remotes, backup_remotes, or their de-duplicated union when all_remote is false and no explicit --remote is supplied.mainNo
auto_pushBooleanGenerated intention to push after commit and tag work, but not consumed by the current active command resolvers or Git service flow. Treat as reserved.trueNo
Service-level strategy
toml
[tool.custy.git]
main_remotes = ["origin"]
backup_remotes = ["mirror"]
push_to = "all"

# Present in the generated file but currently reserved.

auto_push = true

Continue