reason
In general, the following configurations are performed:
git config --global --unset user.name
git config --global --unset user.email
Moreover, all the gitlab accounts in the company’s private domain are configured in the company, so when submitting a personal github project, the account email mentioned is different from the email on github, so it will not be counted as contributions and there will be no small green dot, even if the submission can be successful
You can use git log to check whether the submitted account is consistent with the github account
solve
Just set the email and username under the personal project path, use the following command:
cd /path/to/your/project #进入你github的项目路径下
git config user.name "Github Name"
git config user.email "[email protected]"
Then resubmit, and the contributions and small green dots will be displayed