Git贡献未显示在GitHub上 [英] Git contributions not showing up on GitHub
问题描述
I went through your following article https://help.github.com/articles/why-are-my-contributions-not-showing-up-on-my-profile/ for contribution not being shown on my profile.
至少可以说.
- 我在自己的存储库主分支上推送提交,我可以 在GitHub上查看这些提交,但未将它们添加到我的 贡献.
-
已经超过24小时,并且在多个目录中.不,没有 我推送的存储库中的分支是分叉的.
- I am pushing commits on my own repository master branch and I can see those commits on GitHub but they aren’t being added in my contribution.
Its been more than 24 hours and in multiple directories. No, None of the repository I am pushing my commits are forked.
他们不是给定存储库的贡献者,因此我可以推送 提交.
They are no contributors to the given repository so I can push commits.
[问题:] 有人可以告诉我我在做什么错吗?或如何解决?
[Question:] Can someone tell me what wrong I could be doing? or how to fix it?
我的git存储库是: https://github.com/irohitb
My git repository is: https://github.com/irohitb
示例:考虑该存储库-> https://github.com/irohitb/Crypto ,这里说最后一次提交是在4天前推送的,但是在我的贡献中,没有显示我过去一周所做的任何贡献
Example: Consider this repository -> https://github.com/irohitb/Crypto, Here it says last commit was pushed 4 days ago but in my contribution, it doesn't show any contribution which I did in past week
推荐答案
检查您的git config user.name
和git config user.email
.
在您的 GitHub帐户之后,您的用户名应为irohitb
.
Your user.name should be irohitb
, after your GitHub account.
您提到的回购协议的提交(提交0733750 )显示:
The commit of the repo you mention (commit 0733750) shows:
Rohit Bhatia是作者,Rohit Bhatia是4天前提交的
Rohit Bhatia authored and Rohit Bhatia committed 4 days ago
在这两种情况下,GitHub均未显示指向github.com/irohitb
的链接,这意味着user.name或user.email与GitHub帐户的登录名/电子邮件不匹配.
In both instances, GitHub does not show a link to github.com/irohitb
, which means the user.name or user.email didn't match the login/email of your GitHub account.
您需要更改您以前提交的作者以进行纠正情况.
参见此示例.
You would need to change the author of your past commits to rectify the situation.
See this example.
这篇关于Git贡献未显示在GitHub上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!