How to clone/fetch a repo getting only the history

前端 未结 4 1127
北海茫月
北海茫月 2020-12-17 17:06

Is it possible to download a repository\'s commits, branches, and tags, excluding blobs and trees? I would like to be able to view the history and whatnot without downloadin

4条回答
  •  北荒
    北荒 (楼主)
    2020-12-17 17:56

    You can achieve this with github apis.

    https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository

提交回复
热议问题