我通过Magit从Spacemacs推出了一个项目。它询问了用户名,电子邮件,密码。但我肯定打错了。它显示了同一个用户名的人被推到了一起。但我找不到办法改变Magit上的用户信息。

发布于 2018-10-06 04:36:22
这是因为错过了吉特设置。
您可以使用(for Git 2.8 and more)避免这种情况。
git config --global user.useConfigOnly true这样,如果您在user.name/user.email未定义时尝试并提交,您将得到一条错误消息(而不是默认的元数据,这些元数据一旦按下就不会正确显示)。
no name was given and auto-detection is disabled
no email was given and auto-detection is disabledhttps://stackoverflow.com/questions/52675145
复制相似问题