Created
April 26, 2020 03:15
-
-
Save navkast/4affda14676a5ecc7807440e1d814afe to your computer and use it in GitHub Desktop.
Github GraphQL: Latest commits on a particular revision (branch or commit)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
repository(owner: "microsoft", name: "vscode") { | |
object(expression: "720b72ea268ed1a0001b4be2cac35dbbfd74e079") { | |
... on Commit { | |
id | |
history(first: 5) { | |
nodes { | |
hash: oid | |
message | |
author { | |
name | |
date | |
user { | |
name | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also works with a branch name: