Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kd_clients/GitHubClients/GitClient.ts>GitClient#addCommit

Various HTTP clients for miscellaneous use.
Go to Latest
method GitClient.prototype.addCommit
import { GitClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.12/GitHubClients/GitClient.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>