GitCommit API 레퍼런스
불변(immutable)인 git 커밋을 나타내는 Dagger GraphQL API 타입이에요.
출처: Dagger Docs
본문
불변인 git 커밋이에요.
Node를 구현해요.
authoredDateRFC3339 형식의 git author 날짜예요.authorEmailgit author 이메일이에요.authorNamegit author 이름이에요.committedDateRFC3339 형식의 git committer 날짜예요.committerEmailgit committer 이메일이에요.committerNamegit committer 이름이에요.id이 GitCommit의 고유 식별자예요.message전체 커밋 메시지예요.messageBody헤드라인을 제외한 커밋 메시지 본문이에요.messageHeadline커밋 메시지의 첫 줄이에요.parentShas부모 커밋 SHA들이에요.sha전체 커밋 SHA예요.shortSha축약된 커밋 SHA예요.ancestorReleaseTag이 커밋에서 도달할 수 있는 가장 최신 semver 릴리스 태그예요.changes첫 부모에서 이 커밋까지의 변경 사항을 Git 메타데이터 없이 반환해요.releaseTag이 커밋을 직접 가리키는 가장 최신 semver 릴리스 태그예요.tree이 커밋 시점의 파일시스템 트리예요.
id: ID!
이 GitCommit의 고유 식별자예요.
sha: String!
전체 커밋 SHA예요.
shortSha: String!
축약된 커밋 SHA예요.
ancestorReleaseTag(includePreRelease: Boolean = false): GitRef
이 커밋에서 도달할 수 있는 가장 최신 semver 릴리스 태그예요.
includePreRelease: Boolean = false
가장 최신 태그를 고를 때 프리릴리스 태그를 포함해요.
changes(against: GitCommit): Changeset!
첫 부모에서 이 커밋까지의 변경 사항을 Git 메타데이터 없이 반환해요.
루트 커밋은 빈 트리와 비교돼요. 머지 커밋은 merge base가 아니라 첫 부모와 비교돼요.
against: GitCommit
첫 부모 대신 비교 기준으로 사용할 커밋이에요. 비교 대상 커밋은 관련 없는 히스토리나 저장소에 속해 있어도 돼요.
releaseTag(includePreRelease: Boolean = false): GitRef
이 커밋을 직접 가리키는 가장 최신 semver 릴리스 태그예요.
includePreRelease: Boolean = false
가장 최신 태그를 고를 때 프리릴리스 태그를 포함해요.
tree(discardGitDir: Boolean = false, depth: Int = 1, includeTags: Boolean = false): Directory!
이 커밋 시점의 파일시스템 트리예요.
discardGitDir: Boolean = false
.git 디렉터리를 버리려면 true로 설정하세요.
depth: Int = 1
가져올 트리의 깊이예요.
includeTags: Boolean = false
로컬 체크아웃의 .git에 태그 ref를 채우려면 true로 설정하세요.