← Back to list

Why Aren’t my Commits Showing Up in the Contribution Graph

Recently I faced an issue in my GitHub after pushing my code to my repository. I found a weird issue, my commits weren’t showing in the…

Albert Remalin Raja in Dev Genius · 2023-06-30 05:22 · 0 claps · 1.2 min read
#github #github-contribution #github-push #github-contribution-graph
Open on Medium ↗
Wiki topics: 🔓 · Open Source

Why Aren’t my Commits Showing Up in the Contribution Graph

Recently I faced an issue in my GitHub after pushing my code to my repository. I found a weird issue, my commits weren’t showing in the contribution graph.It can be frustrating isn’t it? I went for some solutions around the web and couldn’t find any.

That’s when I found this one article from GitHub: Why are my contributions not showing up on my profile?

Before diving into solution let me tell you why this happened.

Contributions are only counted if they meet certain criteria:

  • The email address used for the commits is associated with your account on GitHub.com.
  • The commits were made in a standalone repository, not a fork.
  • The commits were made: -In the repository’s default branch -In the gh-pages branch (for repositories with project sites)

So now let’s move on to the Solution part:

  • Check for your email id through terminal following command
git config user.email

You should be able to see :

yourname@email.address
  • If your mail id is different you can change it by,this following command:
git config — global user.email “your-email”

And that’s it! If your email id is correct and still facing this issue one of following might be the issue:

  • If you are not in default branch and developing in different branch the graph will only update after it is merged on the default branch.
  • Commits were made in a fork.

Check this link for further info:Why are my contributions not showing up on my profile?

References:

GitHub commits aren’t recorded in the ‘Your Contributions` calendar

Why are my contributions not showing up on my profile?


메타데이터
post_id
c80925caea8f
slug
why-arent-my-commits-showing-up-in-the-contribution-graph-c80925caea8f
url
https://blog.devgenius.io/why-arent-my-commits-showing-up-in-the-contribution-graph-c80925caea8f
canonical_url
https://blog.devgenius.io/why-arent-my-commits-showing-up-in-the-contribution-graph-c80925caea8f
author_url
https://medium.com/@albert-remalin-raja
status
ok
fetched_at
2026-07-09 00:50:33