您的位置:首页 > 大数据 > 人工智能

Git修改提交的用户名和Email(转)

2016-06-30 13:20 323 查看

转:http://blog.163.com/seven_7_one/blog/static/162606412201110233150292/

对已经提交的代码进行名称与邮箱的修改。

 

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

If the identity used for this commit is wrong, you can fix it with:

    git commit --amend --author='Your Name <you@example.com>'

阅读更多
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: