dcloud git repositories set-push-mirrorCopy every push to a remote outside Deutsche Cloud (branches and tags)
IAM git:ConfigurePushMirrorChanges stateAsks before it deletes (-y skips)
Fast-forward only and nothing is deleted on the remote: a branch that moved there on its own is listed in `pushMirror.rejectedRefs` with `lastStatus: failed` instead of being overwritten. Pushes once at once, then after every push, merge or console edit. The token is never returned.
Synopsis
dcloud git repositories set-push-mirror repoId --url url --token tokenArguments
<repoId>Requiredstring
Also accepted as
--repo-id. Constraints: uuid
Flags
--urlRequiredstring
https URL of the remote repository, without credentials (https://github.com/acme/app.git)
Constraints: 1-500 chars
--tokenRequiredstring
A token allowed to push there (GitHub: fine-grained, Contents: write); stored sealed, never shown
Constraints: 1-500 chars
Example
dcloud git repositories set-push-mirror repoId --url example --token exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.