Getting Github individual file contributors

后端 未结 4 675
后悔当初
后悔当初 2020-12-31 11:23

I am planning to build a plug-in for Sphinx documentation system plug-in which shows the names and Github profile links of the persons who have contributed to the documentat

4条回答
  •  [愿得一人]
    2020-12-31 11:52

    Why do you need to use Github API for that? You can just clone the package and use git log:

    git log --format=format:%an path/to/file ver1..ver2 |sort |uniq

提交回复
热议问题