I have been using github for a long time, but there have been no contributions.
I just found out today that my local git username and email are inconsistent with those on github. . .
So, can I still retrieve my original contributions?
PHP中文网2017-05-02 09:52:05
https://github.com/contact Submit a question here, github responds very quickly. I accidentally bought a private warehouse for $7 yesterday, and then applied for a refund and it was processed in 20 minutes, only $0.46 was deducted.
我想大声告诉你2017-05-02 09:52:05
Refer to correct all submitted usernames and emails of git;
Principle: Use the powerful commands git filter-branch
, 重新刷洗每次提交,如果提交的用户名是指定的错误用户名,则更改成新的用户名;错误的邮箱也是如此;这样做会重新刷洗整个提交历史,不建议团队协作中使用;如果本地使用过git filter-branch
,需要git push --force
provided by Git to force push to the remote server;