1

I'm finding something like this git log --remote --full-depth <url> or some variations, or approaches from bash / python to get full history of the repository without git clone

I want to get full history of the repository's commits to calculate some metrics using this data.

The question a partly similar to this question, but I want to get full history.

Community
  • 1
  • 1
Vlad Rudskoy
  • 677
  • 3
  • 7
  • 24

1 Answers1

1

If you don't want to clone/fetch the repo, then you would need to use the GitHub API for commit in order to get those same commits without cloning. See this example.

But you also have the GitHub Statistic API to directly get some stats on those commits, without having to fetch them first.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250