Skip to content

Instantly share code, notes, and snippets.

@davidbarsky
Last active August 1, 2019 21:04
Show Gist options
  • Select an option

  • Save davidbarsky/288bbabac476831c60fb4df9b9c42315 to your computer and use it in GitHub Desktop.

Select an option

Save davidbarsky/288bbabac476831c60fb4df9b9c42315 to your computer and use it in GitHub Desktop.
query CommitHistory($owner: String!, $repositoryName: String! $path: String!) {
repository(name: $repositoryName, owner: $owner) {
ref(qualifiedName: "master") {
target {
... on Commit {
id
history(first: 10, path: $path) {
pageInfo {
hasNextPage
}
edges {
node {
treeResourcePath
messageHeadline
message
author {
name
email
date
}
}
}
}
}
}
}
}
}
{
"owner": "tokio-rs",
"path": "tracing-fmt",
"repositoryName": "tracing"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment