question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Calculation of Total commit

See original GitHub issue

Describe the bug I am not sure if anything is wrong here or not. But previously I have a total commit of 1.1k, and now it decreases to 987. I think some problem is there as I haven’t deleted any repo. I have count_private and include_all_commits turned on.

Expected behavior According to my GitHub, I should have 1.2k commits, including private and public repos. They are showing my commits as follows:

  • 2019 => 2 commit
  • 2020 => 1009 commit
  • 2021 => 246 commit

Screenshots / Live demo link (paste the github-readme-stats link as markdown image) I didn’t take any screenshot of github-readme-stats showing 1.1k commits, but you can check my current state here

Additional context You can check my total commit according to GitHub from here

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
prabormukherjeecommented, Sep 7, 2021

Hi @anuraghazra,

To count private infos you need to deploy readme-stats on your own vercel instance with your own Personal access token.

I have deployed it on my own vercel here. But still I didn’t see any changes. Also my commit went down from 993 to 936. Can you tell me how I can add all private commmits and PRs

0reactions
prabormukherjeecommented, Sep 29, 2021

This issue got solved after I added the repo permission with the PAT. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I get the Git commit count? - Stack Overflow
To get a commit count for a revision ( HEAD , master , a commit hash): git rev-list --count <revision>. To get the...
Read more >
Counting my contributions to a git repo - Pankaj Tanwar
Total commits ​​ I found a super easy way to get the commits count. This command prints a list of commits count by...
Read more >
Counting your contribution to a git repository - Shing Lyu
Let's start with the easy one: counting the number of commits made by one user. The easiest way is to run. git shortlog...
Read more >
Get Contributor stats from git - Lost in Details
TLDR; · To get the number of commits for each user execute git shortlog -sn --all · To get the number of lines...
Read more >
How to measure commits: merges, branches, repositories and ...
We just need to calculate commits between two dates and that's it. Let's assume we are not interested in filtering by date. The...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found