如题,我第一次push时(或者是commit时?)没有设置邮件,结果git用了ubuntu系统默认的邮件xx@ubuntu.ubuntu-domain,然后不管push几次,我的contributions都是0次,已经通过git config --global user.mail "xx@gmail.com"更改邮件了还是不行
git config --global user.mail "xx@gmail.com"
Change this file directly on the project homepage.git/config
.git/config
Use git config user.email设置一下特定项目的email配置即可,全局设置加上--glbbal parameters. If you want GitHub's contributions to be displayed, just add the original submitted email in Settings > Email.
git config user.email
--glbbal
It turns out it’s me who’s stupid, I guessuser.email
user.email
After modification, you can check whether the modification is successful through the command The command is: git config --list
Global settings: git config --global user.email A certain warehouse: git config --local user.email
Change this file directly on the project homepage
.git/config
Use
git config user.email
设置一下特定项目的email配置即可,全局设置加上--glbbal
parameters. If you want GitHub's contributions to be displayed, just add the original submitted email in Settings > Email.It turns out it’s me who’s stupid, I guess
user.email
After modification, you can check whether the modification is successful through the command
The command is: git config --list
Global settings: git config --global user.email
A certain warehouse: git config --local user.email