/** * Helper functions for working with [Git](https://git-scm.com/). * * @module */ /** Helper function to get the current branch name for a Git repository. */ export declare function getGitBranchName(gitRepositoryPath: string): Promise; /** * Helper function to determine whether the given directory inside of a Git repository is "clean", * meaning has no unchanged files from the head. * * - If given the root of a Git repository, it will check the entire repository. * - If given a subdirectory of a Git repository, it will check for only changes in that directory. * * @throws If the provided directory is not inside of a Git repository. */ export declare function isGitDirectoryClean(directoryPath: string): Promise; /** Helper function to determine whether the given path is inside of a Git repository. */ export declare function isGitRepository(gitRepositoryPath: string): Promise; /** Helper function to determine whether the given Git repository is up to date with the remote. */ export declare function isGitRepositoryLatestCommit(gitRepositoryPath: string): Promise; //# sourceMappingURL=git.d.ts.map