Create a branch from the project root or from another branch, snapshotting its files. Requires project.files.write.
Arguments
inputCreateBranchInput!requiredinput.projectReferenceStringinput.nameString!requiredinput.baseBranchIdIDinput.descriptionStringinput.autoDeleteOnMergeBooleanDelete the branch after merge. Null and omission use the false default.
Responses
mutation CreateBranch($input: CreateBranchInput!) { createBranch(input: $input) { id projectId name baseBranchId createdAt createdBy mergedAt mergedBy updatedAt version description status autoDeleteOnMerge }}{ "data": { "createBranch": { "id": "string", "projectId": "string", "name": "string", "baseBranchId": "string", "createdAt": "string", "createdBy": "string", "mergedAt": "string", "mergedBy": "string", "updatedAt": "string", "version": 0, "description": "string", "status": "active", "autoDeleteOnMerge": false } }}The Branch! in data.createBranch.