commitmnt
Version:
Copy your gitlab and bitbucket commits to a new, publishable github repo
19 lines (18 loc) • 624 B
TypeScript
import { Deps } from '../../types';
/**
* @internal
*
* Constant that specifies the maximum number of commits to do
* before pushing to github. The github activity graph seems to
* behave strangely when you push a huge number of commits all at once
*/
export declare const MAX_COMMITS_PER_PUSH = 400;
/**
* Creates commits in the current repo for a list of specified dates
*
* @param dates the dates to commit on
* @returns the number of commits copied
*
* @category Public API Module
*/
export declare function copyCommitsToRepo({ cd, config }: Deps, dates: Array<string>): Promise<number>;