VisualStudio
VisualStudio copied to clipboard
Pushing Commits to Github does not reflect as contributions (Green box) to the Profile.
Versions
- Git client version: git version 2.21.0.windows.1
- IntelliJ version: Ultimate 2020.2 ()
What happened
I have been pushing my code commits to github, but it doesn't show up to my contributions. For example, none of my code push result in highlighting the corresponding date with the small green box (Please refer to the screen shot) Few things which I checked before raising this ticket are:
- I have starred the repo to which I am pushing my code changes.
- This repo is not forked.
- I have also checked the UTC and IST time difference, both are 25th November.
Steps to Reproduce
Steps to reproduce the behavior:
- Create a repo
- clone the repo to your desktop.
- Make some code changes and push you code every day for, say, a week
- You'll be able to see that for some days, the commits are not reflected.
- I also waited for quite a long time, but the my contributions did not reflect.
- My issues is similar to https://github.com/github/VisualStudio/issues/631, but I could not find a proper solution in that thread.
- I also went through this document, I am following all the requirements for a proper contribution update. https://docs.github.com/en/free-pro-team@latest/github/setting-up-and-managing-your-github-profile/why-are-my-contributions-not-showing-up-on-my-profile
Expected behavior
It would be great if I commits re reflected as an when I push my code commits.
Screenshots
Logs
Additional context
Okay, my changes for today just got reflected. I don't have any clue why it happened only after I raised this Bug :-) . But, I would request to check this issue because my contributions on 18th and 22nd of November are also not reflecting.
Same here
I think I was able to figure it out. You need to create an Issue entry on GitHub for which you are making the code changes. While pushing your code, make sure mention "Close #
- Mark the issue as closed.
- Add the green box reflecting your code push.
just experienced same problem and solved by changing my primary email on github > settings> emails. Now i can see greenboxes without creating or closing an issue. @sandipanaich @fatemehmarzoughi
See: https://medium.com/@soufianerafik/commits-not-showing-up-on-github-contributions-graph-c3b539ad42a1
I am also facing the same issue, I am using IntelliJ Idea and I have connected my GitHub account. I am creating a Java Project and I am committing the changes form compiler every day and Pushing the commits but the green box is not reflecting. Kindly help me with this issue. @vrlelif @sandipanaich
same here
I am experiencing the same when pushing commits using VS Code. I can confirm my primary email on github matches the one in my local.
✔SIMPLE FIX :( Step first check your email id same as your email present in your github profile by going ( github > settings> emails. ) You can type in your terminal git config --global user.email [email protected]
But this is not my email which is present on my git hub profile profile so i change it by typing git config --global user.email "YOUR_GITHUB_EMAIL_ADDRESS"
Now, both addresses should match. Run the command below to confirm that you have set the email address correctly in your local Git: git config --global user.email
My email is configured correctly, I am pushing to the master branch and it still doesn't show a green square.
same thing is happening for me, what should I do and how can raise the issue. I just Started the github journey few days back only.
I was facing the same issue but upon checking my email, I realised there was a discrepancy and although it did resolve the issue for new commits, I'm still unable to see any old commits in the contributions graph. Any help?