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

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

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

git config --global user.email 'jgl1210@qq.com'
➜  yuyue git:(master) git commit --amend --reset-author
[master 0fc745d] test
 Committer: 小时光 <mac@MacdeMacBook-Pro.local>
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 you@example.com

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

    git commit --amend --reset-author

 1 file changed, 1 insertion(+)
    原文作者:小时光
    原文地址: https://segmentfault.com/a/1190000020176117
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞