VipGit: { convertEmoji: ( content: string, withSpace?: boolean | "leading" | "trailing" | "both", ) => string; execCommit: (args: string[]) => void; execPush: (args: string[]) => void; execTag: (args: string[]) => void; getCommitFirstLineMsg: () => string; getCommitLogs: (latestTag: string, branch?: string) => string[]; getCommitTrimMsg: () => string; getCurrentBranch: () => string; getGitHubRepo: (baseUrl: string) => string; getLastMatchingTag: (inputTag: string) => string | undefined; getRecentCommit: () => GitInfo; getRecentCommitHash: () => string; getRecentCommitsByScope: (gitScope: string) => string[]; getRecentCommitShortHash: () => string; getRemoteNames: () => string[]; getTagInHead: () => string | null; getTags: () => string[]; isPrerelease: (version: string) => boolean; isRepoShallow: () => boolean; parseCommitMsg: (message: string) => GitCommit | null; validateBranch: (allowBranch?: string | string[]) => void;} = ...
类型声明
-
convertEmoji: (
content: string,
withSpace?: boolean | "leading" | "trailing" | "both",
) => string
-
execCommit: (args: string[]) => void
-
execPush: (args: string[]) => void
-
execTag: (args: string[]) => void
-
getCommitFirstLineMsg: () => string
-
getCommitLogs: (latestTag: string, branch?: string) => string[]
-
getCommitTrimMsg: () => string
-
getCurrentBranch: () => string
-
getGitHubRepo: (baseUrl: string) => string
-
getLastMatchingTag: (inputTag: string) => string | undefined
-
getRecentCommit: () => GitInfo
-
getRecentCommitHash: () => string
-
getRecentCommitsByScope: (gitScope: string) => string[]
-
getRecentCommitShortHash: () => string
-
getRemoteNames: () => string[]
-
getTagInHead: () => string | null
-
-
isPrerelease: (version: string) => boolean
-
isRepoShallow: () => boolean
-
parseCommitMsg: (message: string) => GitCommit | null
-
validateBranch: (allowBranch?: string | string[]) => void
Git业务相关