Skip to content

relizy / getCommitSubject

Function: getCommitSubject() ​

getCommitSubject(ref, cwd?): Promise<string | null>

Defined in: src/core/git-refs.ts:44

Returns the subject (first line) of the commit a ref points to, or null.

Parameters ​

ref ​

string

cwd? ​

string

Returns ​

Promise<string | null>

Released under the MIT License.