Get all commits by a user in a organization with filtered date #73070
Replies: 4 comments 1 reply
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Greetings Nikhil, 👋🏼 You can definitely do this with GitHub's GraphQL API. You need to fetch all commits made by a specific user in an organization within a specific datetime range. Of course, you should have the access to the repository you are interested in. 😄 Query for the main branch should look something like this:
Switch the values with the ones you are interested in. Also, your personal access token needs to have the right permissions, bare that in mind. Hope this helps. 😺 🍀 |
Beta Was this translation helpful? Give feedback.
-
The error message from above indicates that the provided Take care. 🍀 |
Beta Was this translation helpful? Give feedback.
-
For anyone who'd prefer to use the API for this, you can use:
|
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Hi,
What is the best way to find all the commits made by a specific user made across every repository in a organization in specific datetime range(For example: in last 30 days) ?
Thanks much in advance!
Beta Was this translation helpful? Give feedback.
All reactions