码云提交了代码,贡献度不显示

最近发现每天都提交代码,但是码云却有几天是中断的,排查原因原来是我没有设置提交邮箱

如果没有设置邮箱,这个地方是 默认按照

git config --global user.email '[email protected]'
➜  yuyue git:(master) git commit --amend --reset-author
[master 0fc745d] test
 Committer: 小时光 <[email protected]>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

    git config --global user.name "Your Name"
    git config --global user.email [email protected]

After doing this, you may fix the identity used for this commit with:

    git commit --amend --reset-author

 1 file changed, 1 insertion(+)

git

相关推荐