Skip to content

Github Stats Bug - Only showing half of my commits #2221

Answered by rickstaa
MusaAqeel asked this question in Q&A
Discussion options

You must be logged in to vote

@MusaAqeel Thanks for your question. I checked your profile, and the card is working correctly. You can check this out by using the following syntax in the GraphQL explorer:

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

You can then use the following in the query variables field.

{"login": "MusaAqeel"}

You can get the private commits to show up using the count_private=true variable. Also, please be aware that we use caching to reduce the server load (see https://github.com/anuraghazra/github-readme-stats#common-options).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@MusaAqeel
Comment options

@rickstaa
Comment options

@MusaAqeel
Comment options

Answer selected by MusaAqeel
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 #2220 on October 24, 2022 06:54.