OBJECT
Commit
Represents a Git commit.
link GraphQL Schema definition
- type Commit implements Node, GitObject {
- # Authorship details of the commit.
- GitActor :
- # Fetches `git blame` information.
- #
- # Arguments
- # path: The file whose Git blame information you want.
- String!): Blame! ( :
- # Comments made on the commit.
- #
- # Arguments
- # first: Returns the first _n_ elements from the list.
- # after: Returns the elements in the list that come after the
- # specified global ID.
- # last: Returns the last _n_ elements from the list.
- # before: Returns the elements in the list that come before the
- # specified global ID.
- Int, : String, : Int, : String): CommitCommentConnection! ( :
- # Check if commited via GitHub web UI.
- Boolean! :
- # Committership details of the commit.
- GitActor :
- # The linear commit history starting from (and including) this commit, in the same
- # order as `git log`.
- #
- # Arguments
- # first: Returns the first _n_ elements from the list.
- # after: Returns the elements in the list that come after the
- # specified global ID.
- # last: Returns the last _n_ elements from the list.
- # before: Returns the elements in the list that come before the
- # specified global ID.
- # path: If non-null, filters history to only show commits
- # touching files under this path.
- # author: If non-null, filters history to only show commits with
- # matching authorship.
- # since: Allows specifying a beginning time or date for fetching
- # commits.
- # until: Allows specifying an ending time or date for fetching
- # commits.
- (
- Int, :
- String, :
- Int, :
- String, :
- String, :
- CommitAuthor, :
- GitTimestamp, :
- GitTimestamp :
- ): CommitHistoryConnection!
- ID! :
- # The Git commit message
- String! :
- # The Git commit message body
- String! :
- # The commit message body rendered to HTML.
- HTML! :
- # The Git commit message headline
- String! :
- # The commit message headline rendered to HTML.
- HTML! :
- # The Git object ID
- GitObjectID! :
- # The HTTP path for this commit
- URI! :
- # The Repository this commit belongs to
- Repository! :
- # Commit signing information, if present.
- GitSignature :
- # Status information for this commit
- Status :
- # Commit's root Tree
- Tree! :
- # The HTTP url for this commit
- URI! :
- # The websocket channel ID for live updates.
- String! :
- }
link Require by
- BaseRefForcePushedEventRepresents a 'base_ref_force_pushed' event on a given pull request.
- BlameRangeRepresents a range of information from a Git blame.
- ClosedEventRepresents a 'closed' event on a given issue or pull request.
- CommitCommentRepresents a comment on a given Commit.
- CommitConnectionThe connection type for Commit.
- CommitEdgeAn edge in a connection.
- CommitHistoryConnectionThe connection type for Commit.
- DeploymentRepresents triggered deployment instance.
- HeadRefForcePushedEventRepresents a 'head_ref_force_pushed' event on a given pull request.
- IssueTimelineItemAn item in an issue/pull request timeline
- MergedEventRepresents a 'merged' event on a given pull request.
- PullRequestA repository pull request.
- PullRequestReviewA review object for a given pull request.
- PullRequestReviewCommentA review comment associated with a given repository pull request.
- ReferencedEventRepresents a 'referenced' event on a given issue or pull request.
- StatusRepresents a commit status.
- StatusContextRepresents an individual commit status context