baseIsEphemeral/targetIsEphemeral to work with ephemeral refs. The method returns the API
message plus the resolved branch metadata so you can confirm creation before pushing commits.
Options
Source branch to copy from. Combine with
baseIsEphemeral when promoting from the ephemeral namespace.Destination branch name. May match
baseBranch when moving between namespaces.true when the source branch lives in the ephemeral namespace (defaults to false).true to create/update an ephemeral branch instead of the default namespace.Response
Confirmation message
The created branch name
Whether the branch is in the ephemeral namespace
The tip commit SHA of the new branch