• 请不要在回答技术问题时复制粘贴 AI 生成的内容
toms0301
V2EX  ›  程序员

请教一个 github 的问题

  •  
  •   toms0301 · Mar 27, 2019 · 2917 views
    This topic created in 2779 days ago, the information mentioned may be changed or developed.

    为什么点击 Contribution activity 中的 commit 记录看不到自己的提交记录

    正常情况下,点击应该可以看到提交的具体内容

    我现在点击进去,显示的是 No commits found for xxxx

    请教怎么解决这个问题

    Latin
    Latin
    Mar 27, 2019
    1
    盘它就完了
    gavindexu
    gavindexu
    Mar 27, 2019 via iPhone
    2
    你开空调啊
    ErrorMan
    ErrorMan
    Mar 27, 2019 via Android
    3
    你的 commit 作者信息没有和 github 账号的对应上,user.name 应该是 github 用户名,user.email 如果你不打算暴露的话,在 github 个人资料页能找到一个含 noreplay 关键词的匿名邮箱,如果无所谓暴露的话填你的 github 邮箱。信息匹配的 commit 才会关联到你的账号上
    stebest
    stebest
    Mar 27, 2019
    4
    热得快炸了
    shiww
    shiww
    Mar 27, 2019
    5
    Commits will appear on your contributions graph if they meet all of the following conditions:
    -The email address used for the commits is associated with your GitHub account.
    -The commits were made in a standalone repository, not a fork.
    -The commits were made:
    --In the repository's default branch (usually master)
    --In the gh-pages branch (for repositories with Project Pages sites)

    In addition, at least one of the following must be true:
    -You are a collaborator on the repository or are a member of the organization that owns the repository.
    -You have forked the repository.
    -You have opened a pull request or issue in the repository.
    -You have starred the repository.

    https://help.github.com/en/articles/why-are-my-contributions-not-showing-up-on-my-profile
    hirasawayui
    hirasawayui
    Mar 27, 2019
    6
    username 无所谓,邮箱一定要对上号
    sugars
    sugars
    Mar 27, 2019
    7
    github 上设置的邮箱要和你 git config --global user.email 一致
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5653 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 03:06 · PVG 11:06 · LAX 19:06 · JFK 22:06
    ♥ Do have faith in what you're doing.