dcloud git repositories sync-fork

Fast-forward a fork's branch to its parent's

IAM git:PushRepositoryChanges stateAsks before it deletes (-y skips)

Only a fast-forward: a branch with commits of its own is refused (409), nothing is overwritten. Goes through branch protection, CI and webhooks like a push.

Synopsis

dcloud git repositories sync-fork repoId [flags]

Arguments

  • <repoId>Required

    string

    Also accepted as --repo-id. Constraints: uuid

Flags

  • --branchOptional

    string

    The branch to bring up to the parent's branch of the same name; the default branch when absent

    Constraints: 1-255 chars

Example

dcloud git repositories sync-fork repoId

Generated from the API description, the same one the API checks requests against and the CLI is built from.