Skip to content

Instantly share code, notes, and snippets.

@juananpe
Created October 31, 2019 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juananpe/56467fed702c866bab10bc5081be19b4 to your computer and use it in GitHub Desktop.
Save juananpe/56467fed702c866bab10bc5081be19b4 to your computer and use it in GitHub Desktop.
show last commit date of each branch
{
search(query: "org:bardsoftware", type: REPOSITORY, last: 100) {
nodes {
... on Repository {
nameWithOwner
refs(first: 100, refPrefix: "refs/heads/") {
nodes {
name
target {
... on Commit {
oid
committedDate
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment