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>'
Git修改提交的用户名和Email
本文介绍如何正确设置Git的用户名和电子邮件地址,确保提交的身份信息准确无误。通过使用`git config`命令,可以轻松地配置这些基本信息,并在提交时避免出现错误的身份提示。


被折叠的 条评论
为什么被折叠?



