Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 3

How to get all my commits + messages across all repositories from the last 7 days, sorted by repo?

How to get all my commits + messages across all repositories from the last 7 days, sorted by repo?

 

I tried it in the explorer (https://developer.github.com/v4/explorer/), but only got commits from one specified repository. I'd like to get commits from all repositories I contributed to, optionally adding a filter to only show commits from my organization. 

2 Replies
Community Manager
Message 2 of 3

Re: How to get all my commits + messages across all repositories from the last 7 days, sorted by rep

The GraphQL search connection currently doesn't support code results, including commits. You'll probably want to use the REST APi for now.

 

I hope that helps!

 

Ground Controller Lvl 1
Message 3 of 3

Re: How to get all my commits + messages across all repositories from the last 7 days, sorted by rep

Phifa, do you mind sharing the code you used to search commits (even though it was one repo)?

 

Thanks,
Dan