@wroud/git
Version:
A lightweight toolset for working with local git, including utilities for retrieving git commits and tags, ideal for CI/CD pipelines and automated release workflows.
14 lines • 540 B
TypeScript
import type { IGitCommitInfo } from "./IGitCommitInfo.js";
interface IGitGetCommitsOptions {
from?: string | null;
to?: string;
path?: string;
maxCommits?: number;
includeTags?: boolean;
includeTrailers?: boolean;
customTrailers?: RegExp[];
customLinks?: RegExp[];
}
export declare function getGitCommits({ from, to, path, maxCommits, includeTags, includeTrailers, customTrailers, customLinks, }?: IGitGetCommitsOptions): AsyncGenerator<IGitCommitInfo>;
export {};
//# sourceMappingURL=getGitCommits.d.ts.map