Skip to content

Commit count in stats card seems to be incorrect #3059

Answered by qwerty541
astanwar99 asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like my total commits in stats card is incorrect. I am using my own vercel instance.

This way to check if commits count is correct no more actual since we don't use restrictedContributionsCount value during stats calculation. See:

https://github.com/anuraghazra/github-readme-stats/blob/master/src/fetchers/stats-fetcher.js#L47-L50

&count_private=true query option also no more supported, so you can remove it. totalCommitsContributions value should contain all your commits (public/private) if you correctly set permissions for you GitHub Personal Access Token (PAT).

I was also wondering if its possible to include contributions that have been made in an organisation. If a user is m…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@zeyuanyin
Comment options

@qwerty541
Comment options

@zeyuanyin
Comment options

@rickstaa
Comment options

Answer selected by qwerty541
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants