ComparisonCommitConnection [object]
The connection type for Commit.
Attributes
Int [scalar]
The Int
scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
The total count of authors and co-authors across all commits.
A list of edges.
Commit [object]
Represents a Git commit.
Implements
Attributes
An abbreviated version of the Git object ID
The number of additions in this commit.
The merged Pull Request that introduced the commit to the repository. If the
commit is not present in the default branch, additionally returns open Pull
Requests associated with the commit
Authorship details of the commit.
Check if the committer and the author match.
The datetime when this commit was authored.
The list of authors for this commit based on the git author and the Co-authored-by
message trailer. The git author will always be first.
Fetches git blame
information.
We recommend using the changedFilesIfAvailable
field instead ofchangedFiles
, as changedFiles
will cause your request to return an error
if GitHub is unable to calculate the number of changed files.
The number of changed files in this commit. If GitHub is unable to calculate
the number of changed files (for example due to a timeout), this will returnnull
. We recommend using this field instead of changedFiles
.
The check suites associated with a commit.
Comments made on the commit.
The HTTP path for this Git object
The HTTP URL for this Git object
The datetime when this commit was committed.
Check if committed via GitHub web UI.
Committer details of the commit.
The number of deletions in this commit.
The deployments associated with a commit.
The tree entry representing the file located at the given path.
The linear commit history starting from (and including) this commit, in the same order as git log
.
The Node ID of the Commit object
The Git commit message
The Git commit message body
The commit message body rendered to HTML.
The Git commit message headline
The commit message headline rendered to HTML.
The Git object ID
The organization this commit was made on behalf of.
The parents of a commit.
The datetime when this commit was pushed.
The Repository this commit belongs to
The HTTP path for this commit
Commit signing information, if present.
Status information for this commit
Check and Status rollup information for this commit.
Returns a list of all submodules in this repository as of this Commit parsed from the .gitmodules file.
Returns a URL to download a tarball archive for a repository.
Note: For private repositories, these links are temporary and expire after five minutes.
Commit's root Tree
The HTTP path for the tree of this commit
The HTTP URL for the tree of this commit
The HTTP URL for this commit
Check if the viewer is able to change their subscription status for the repository.
Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
Returns a URL to download a zipball archive for a repository.
Note: For private repositories, these links are temporary and expire after five minutes.
A list of nodes.
PageInfo [object]
Information about pagination in a connection.
Attributes
When paginating forwards, the cursor to continue.
When paginating forwards, are there more items?
When paginating backwards, are there more items?
When paginating backwards, the cursor to continue.
Information to aid in pagination.
Int [scalar]
The Int
scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Identifies the total count of items in the connection.