Ank*_*hra 5 python git api github github-api
我想git log --stat
使用 Github API实现类似的功能。
我想获取存储库中发生的所有提交以及在该特定提交中更改的文件。
我应该如何使用 Github API 执行此操作?
首先从 https://api.github.com/repos/:owner/:project/commits
curl -i https://api.github.com/repos/masnun/torrent-tweeter/commits
Run Code Online (Sandbox Code Playgroud)
然后您可以使用提交 API 来获取更改的文件。https://developer.github.com/v3/repos/commits/#get-a-single-commit
归档时间: |
|
查看次数: |
3012 次 |
最近记录: |