API 参考
    正在准备搜索索引...

    接口 GitCommitRecord

    经 Conventional Commits 规则解析后的提交记录

    interface GitCommitRecord {
        author: GitCommitAuthor;
        authors: GitCommitAuthor[];
        body: string;
        description: string;
        isBreaking: boolean;
        message: string;
        references: GitCommitReference[];
        scope: string;
        shortHash: string;
        type: string;
    }

    层级 (查看层级一览)

    索引

    主作者信息

    authors: GitCommitAuthor[]

    主作者 + Co-authored-by 合并后的作者列表

    body: string

    提交正文(首行之后的 body)

    description: string

    去除引用后的描述文本

    isBreaking: boolean

    是否含 breaking change(! 或 body 中的 BREAKING CHANGE)

    message: string

    提交标题(Conventional Commits 首行)

    references: GitCommitReference[]

    从描述与 hash 提取的引用列表

    scope: string

    scope(括号内,可能经 scopeMap 映射)

    shortHash: string

    短 hash(%h)

    type: string

    commit type(如 feat / fix)