【问题标题】:Get commit history of all the contributors of a repository获取存储库的所有贡献者的提交历史
【发布时间】:2015-11-16 20:39:01
【问题描述】:

有没有办法获取 git repo 的所有贡献者的提交历史记录,并添加、删除了行。

目前,statistics api 提供前 100 名贡献者的统计数据,但不是每个人。 https://developer.github.com/v3/repos/statistics/ (https://api.github.com/repos/saltstack/salt/stats/contributors

【问题讨论】:

    标签: api github


    【解决方案1】:

    仅通过 GitHub API 不会超过 100 个:请参阅“How can I get more than 100 results from GitHub API v3 using “github_api” gem?”。
    结果上限为 100。

    你需要先克隆 repo,然后 show the number of changed lines per author in git
    或使用gitinspector 之类的工具:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-12-10
      • 2022-11-15
      • 2022-01-27
      • 1970-01-01
      • 2018-09-24
      • 2017-06-06
      • 2021-04-10
      • 2015-08-30
      相关资源
      最近更新 更多