You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

GitHub停止统计我私有大型项目的提交记录问题求助

Troubleshooting GitHub Commit Not Showing Up in Contribution Graph (Private Project)

Let me walk you through the most common fixes for this issue—I’ve helped several developers work through similar problems with private project contributions not showing up:

  • Verify your Git email matches your GitHub account
    GitHub links commits to your profile using the email attached to the commit. First, check the email your local repo is using with:
    git config user.email
    Then head to your GitHub Settings > Emails and make sure this email is listed and verified. Don’t forget to check for any enterprise-specific noreply emails if you’re using a work account—sometimes those get overlooked.

  • Double-check private contribution visibility settings
    Even if you think you’ve enabled it, it’s worth confirming: Go to your GitHub profile > Settings > Profile, then ensure the checkbox for Include private contributions on my profile is ticked. Since you’re the only contributor to the project, permissions shouldn’t be an issue, but just to be safe, confirm you have Owner or Write access to the repo.

  • Ensure commits are on the default branch
    GitHub’s contribution graph only counts commits on the repo’s default branch (usually main or master) by default. If all your recent work is on feature branches that haven’t been merged into the default branch, those commits won’t show up in the graph. Check the repo’s default branch in Settings > Branches, then verify your commits are present there.

  • Check commit timestamps
    The graph uses the commit’s committer timestamp (not author timestamp) to populate contributions. If your local Git clock is misconfigured (e.g., set to a date in the past or future), those commits might not appear. Run git log --pretty=format:"%ad %s" to check the timestamps of your recent commits—make sure they fall within the period where your graph is missing data.

  • Trigger a re-sync with a small commit
    Sometimes GitHub’s contribution stats get stuck due to caching. Try making a tiny, harmless change (like adding a space to a README file), commit it, and push it to the default branch. This often forces GitHub to re-scan your contributions and update the graph.

  • Check for anonymous commits
    If your commits are showing up in the repo’s commit history but not linked to your profile (you’ll see a gray anonymous avatar next to them), that means the email in the commit isn’t associated with your GitHub account. Add and verify that email in your GitHub settings to fix this.

内容的提问来源于stack exchange,提问作者Chri5tia

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.22 09:52:51