Is there a way in Github v4 API to get all the commits after a given commit?
I have tried this, but it doesn't give me any result.
{
repository(owner: "karthikeayan", name: "puhar-petti") {
ref(qualifiedName: "master") {
target {
... on Commit {
history(last: 100, before: "d1b7ccc044be72490525a3fe1b819440f4927cba 0") {
pageInfo {
startCursor
endCursor
}
edges {
node {
oid
messageHeadline
messageBody
}
}
}
}
}
}
}
}
With git log I can accomplish this by doing
git log d1b7ccc044be72490525a3fe1b819440f4927cba..HEAD