Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kd_clients/mod.ts>GitClient#createBranch

Various HTTP clients for miscellaneous use.
Latest
method GitClient.prototype.createBranch
import { GitClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.14/mod.ts";

Creates a branch with the given newBranchName from a branch that matches the given branchFromName.

Parameters

newBranchName: string

The name of the branch.

branchFromName: string

Returns

Promise<GitBranchModel>