Contributions not showing on my GitHub profile after pushing code #173167
Replies: 2 comments
-
Hi @rdkolhatkar, The last screenshot you posted clearly shows that those commits aren't linked to your account, but to a ghost username, indicating that there's a discrepancy with the email. In fact, I just checked your last commit in that repo, and that's the reason. Last commit with the wrong username and email: ![]() Last commit with the right username and email: ![]() This usually happens when pushing from a different device or with different If you need to amend your email address in multiple commits or rewrite your entire commit history within a repo, you can do this by running the following script in your local repo. Replace " #!/bin/sh OLD_EMAIL="old_email" NEW_EMAIL="new_email" git filter-branch --env-filter 'OLD_EMAIL="'"$OLD_EMAIL"'"CORRECT_EMAIL="'"$NEW_EMAIL"'"if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]then export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL"fiif [ "$GIT_AUTHOR_EMAIL" = "$OLD_EMAIL" ]then export GIT_AUTHOR_EMAIL="$CORRECT_EMAIL"fi' --tag-name-filter cat -- --branches --tagsNext, run Finally, force push the changes to your remote repo: git push --force --allOtherwise, if it's only a specific commit, you must identify the commit hash, and use |
BetaWas this translation helpful?Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
BetaWas this translation helpful?Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Why are you starting this discussion?
Question
What GitHub Actions topic or product is this about?
Misc
Discussion Details
Description of the issue
I’ve been pushing code to my repositories over the past 3 days, but my GitHub profile contributions graph still shows no activity. The “Include private contributions on my profile” setting is enabled. I’ve verified that the correct username and email are configured in my Git setup (git config --global user.email) and also confirmed that my email is linked to my GitHub account. Additionally, I signed out and signed back in, but the issue persists.
What I have checked so far
Steps to reproduce
Images



BetaWas this translation helpful?Give feedback.
All reactions