Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
variable getCreateBranchMutation
import { getCreateBranchMutation } from "https://deno.land/x/kd_clients@v1.0.0-preview.12/core/GraphQl/Mutations/CreateBranchMutation.ts";

Creates a GraphQL mutation to create a branch for a repository that matches the given repoNodeId, with a newBranchName and created from a branch with the given createFromBranchOid.

type

(
repoNodeId: string,
newBranchName: string,
createFromBranchOid: string,
) => unknown