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

x/kd_clients/mod.ts>GitClient#addCommit

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

Adds a commit with the given commitMessage to a branch with the given branchName.

Parameters

branchName: string

The name of the branch.

commitMessage: string

The commit message.

Returns

Promise<void>