Skip to content

Instantly share code, notes, and snippets.

@chrisxaustin
Created May 2, 2024 12:39
Show Gist options
  • Save chrisxaustin/6a8930f4132f9eded7e3fcc49ac92322 to your computer and use it in GitHub Desktop.
Save chrisxaustin/6a8930f4132f9eded7e3fcc49ac92322 to your computer and use it in GitHub Desktop.
#!/bin/bash
org=foo
repo=$1
gh api --paginate -H "Accept: application/vnd.github+json" /repos/$org/$repo/commits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment