如何解决我的 Git 贡献未在我的 GitHub 个人资料中更新
当我在一个新分支上时,我在更新我对 GitHub 的 git 贡献时遇到问题,这不是主分支。
简而言之,我有 2 个分支:main 和 magic-chat-app。当我在 magic-chat-app 上提交时,它在我的个人资料中没有显示任何内容。但是当我在我的主分支上进行提交时,它确实出现了。
我已经验证了我的 user.name 和 user.email,它们是正确的。我没有分叉这个项目。
链接如下:
https://github.com/WebDices/chat-application/tree/main
https://github.com/WebDices/chat-application/tree/magical-chat-app
https://github.com/WebDices
解决方法
这是我看到的。
$ git clone git@github.com:WebDices/chat-application.git
Cloning into 'chat-application'...
remote: Enumerating objects: 12,done.
remote: Counting objects: 100% (12/12),done.
remote: Compressing objects: 100% (7/7),done.
remote: Total 12 (delta 0),reused 9 (delta 0),pack-reused 0
Receiving objects: 100% (12/12),done.
$ cd chat-application/
$ git log
commit 85bee60d168759cd0b610850e2a77bce9e937dbb (HEAD -> main,origin/main,origin/HEAD)
Author: WebDices <webdices@gmail.com>
Date: Fri Feb 19 22:32:38 2021 +0200
commit test
commit 946e1a7fc87dea46cd741b4fdc99cdc5f1e099c4
Author: Alexandru Buruiană <53376915+WebDices@users.noreply.github.com>
Date: Tue Feb 16 18:33:46 2021 +0200
Initial commit
$ git checkout magical-chat-app
Branch 'magical-chat-app' set up to track remote branch 'magical-chat-app' from 'origin'.
Switched to a new branch 'magical-chat-app'
$ git log
commit 730d802cc46e8241cc831bd145265db7826a02ab (HEAD -> magical-chat-app,origin/magical-chat-app)
Author: WebDices <webdices@gmail.com>
Date: Fri Feb 19 22:31:03 2021 +0200
first commit
commit b3b4701501f21142636e05c1adbf1822fc34ceaf
Author: Alexandru Buruiana <webdices@gmail.com>
Date: Fri Feb 19 22:26:30 2021 +0200
first commit
commit 946e1a7fc87dea46cd741b4fdc99cdc5f1e099c4
Author: Alexandru Buruiană <53376915+WebDices@users.noreply.github.com>
Date: Tue Feb 16 18:33:46 2021 +0200
Initial commit
在我的个人资料中没有显示任何内容
不确定您在谈论什么“个人资料”。不管是什么,在它同步之前可能有一个延迟?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。