我想要实现一些类似于git log --stat
的东西,使用Github。
我希望获得存储库中发生的所有提交以及在该特定提交中更改的文件。
我应该如何使用Github来完成这个任务呢?
发布于 2015-12-12 15:45:07
首先从https://api.github.com/repos/:owner/:project/commits
抓取提交
curl -i https://api.github.com/repos/masnun/torrent-tweeter/commits
然后,您可以使用提交API来获取更改的文件。https://developer.github.com/v3/repos/commits/#get-a-single-commit
https://stackoverflow.com/questions/34241601
复制相似问题