提交到github时弄错了user.mail该怎么办
过去多啦不再A梦
过去多啦不再A梦 2017-04-27 09:03:15
0
5
731

如题,我第一次push时(或者是commit时?)没有设置邮件,结果git用了ubuntu系统默认的邮件xx@ubuntu.ubuntu-domain,然后不管push几次,我的contributions都是0次,已经通过git config --global user.mail "xx@gmail.com"更改邮件了还是不行

过去多啦不再A梦
过去多啦不再A梦

reply all(5)
我想大声告诉你

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 guessuser.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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!