外观
Commit
约 211 字小于 1 分钟
2025-08-01
@candriajs/git-neko-kit / Commit
接口: Commit
定义于: types/platform/commit.ts:18
属性
author
author:
GitUser
定义于: types/platform/commit.ts:22
提交作者信息
body?
optional
body:null
|string
定义于: types/platform/commit.ts:37
提交正文 仅在开启格式化消息时返回
示例
"- add new feature"
committer
committer:
GitUser
定义于: types/platform/commit.ts:24
提交者信息
message
message:
string
定义于: types/platform/commit.ts:26
提交信息
title?
optional
title:string
定义于: types/platform/commit.ts:32
提交标题 仅在开启格式化消息时返回
示例
"feat: add new feature"
tree
tree:
object
定义于: types/platform/commit.ts:39
提交树信息
sha
sha:
string
树对象的SHA
url
url:
string
树对象的URL
url
url:
string
定义于: types/platform/commit.ts:20
提交的URL