Skip to content
This repository was archived by the owner on May 16, 2023. It is now read-only.

Commit 5711953

Browse files
author
Lauri Piispanen
committed
update README
1 parent 120c7e1 commit 5711953

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,21 @@ This could be due to a number of things.
3737
2) You live in a city which is not included in the query. Unfortunately the query is free-text and not strictly geographical. Rural areas may be excluded from the list, but you can often remedy this by adding the country name to your location in GitHub.
3838

3939
3) You have mostly private commits. These are included too, but they are not listed on the main country page anymore. Instead you will find a subpage with a list that also has private contributions included. This arrangement is done to favor open source contributions over private contributions.
40+
41+
### Why is my contribution count not the same as on my GitHub profile?
42+
43+
Depending on your settings, your GitHub profile displays either only your public contributions or both your public and private ones. commits.top by default shows only public contributions, but public+private count is accessible on a subpage on each region page. You can use the [GitHub API GraphQL Explorer](https://developer.github.com/v4/explorer/) and run the following query to see what the API returns for your user:
44+
45+
```
46+
query {
47+
viewer {
48+
login
49+
contributionsCollection {
50+
restrictedContributionsCount
51+
contributionCalendar {
52+
totalContributions
53+
}
54+
}
55+
}
56+
}
57+
```

0 commit comments

Comments
 (0)