The conversation between human and AI assistant.
How do I find all the merges in GitHub repos using curl?
No, I haven't. Can you walk me through the process?
Definitely! First, you'll need to generate a personal access token on GitHub's website. Then, you can use the following curl command, replacing USER and REPO with your specific repository information: curl -i -H "Accept: application/json" -H "Authorization: Bearer ACCESS_TOKEN" "https://api.github.com/repos/USER/REPO/commits?sha=master&merge=true". This should return a list of all the merge commits in the master branch of your repository.