method GitOperations.prototype.getMergeCommits
GitOperations.prototype.getMergeCommits(since: string): Promise<Array<{ sha: string; message: string; date: string; }>>

Get merge commits since a specific tag or commit Used for PR detection in changelog generation

Parameters

since: string
  • Git ref to start from (tag, commit hash, etc.)

Return Type

Promise<Array<{ sha: string; message: string; date: string; }>>

Array of merge commits with PR information

Usage

import { GitOperations } from ".";