GitHub Contribution Graph May Miss Commits Due to Email Mismatch Across OS
A GitHub community user named badisso22 flagged a discrepancy where over 30 commits made in a single day appeared as only 10 on their profile, consistently occurring when committing from Windows via Boot Camp on a Mac. Community member amasen02 identified the root cause: GitHub's contribution graph tracks commits by the author email embedded in the Git commit object, not by the account used to authenticate the push. Each operating system maintains its own Git configuration file, so a Windows environment may default to an unverified or mismatched email that GitHub cannot link to the user's primary profile. The fix does not require rewriting Git history — users simply need to identify the email address used in the missing commits via git log, then add and verify that address under GitHub Settings → Emails. Once verified, past unlinked commits are automatically reflected in the contribution graph.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in