Skip to content

Incorrect information in stats - My total PR's and commit's number is not updating #2352

Answered by rickstaa
Deva-1903 asked this question in Q&A
Discussion options

You must be logged in to vote

@Deva-1903 Thanks for your question. I checked your results in the GraphQL backend, but the results on the card look correct:

query userInfo($login: String!) {
  user(login: $login) {
    name
    login
    contributionsCollection {
      totalCommitContributions
      restrictedContributionsCount
    }
  }
}
{"login": "Deva-1903"}

It shows 328 public commits and 19 private commits. The only thing that causes your results not to show up immediately is that we use a 4-hour caching period (see https://github.com/anuraghazra/github-readme-stats#common-options). Further, you must set the &count_private=true variable and need to share private commits on your profile for them to show up on th…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Deva-1903
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working.
2 participants
Converted from issue

This discussion was converted from issue #2351 on December 28, 2022 08:40.