Skip to content

CreateBranchOptions

Options for creating a new branch

PropertyTypeDescription
dataCloneMode?DataCloneModeHow to clone data
expiresIn?stringDuration until branch expires (e.g., “24h”, “7d”)
githubPRNumber?numberGitHub PR number (for preview branches)
githubPRUrl?stringGitHub PR URL
githubRepo?stringGitHub repository (owner/repo)
parentBranchId?stringParent branch to clone from (defaults to main)
type?BranchTypeBranch type