Xcode git自动检测电子邮件错误

Xcode git自动检测电子邮件错误,第1张

概述使用 Xcode 7,我在将代码提交给git时遇到了问题. I get this error:*** Please tell me who you are.Run git config --global user.email "[email protected]" git config --global user.name "Your Name"to set your accou 使用 Xcode 7,我在将代码提交给git时遇到了问题.
I get this error:*** Please tell me who you are.Run  git config --global user.email "[email protected]"  git config --global user.name "Your name"to set your account's default IDentity.Omit --global to set the IDentity only in this repository.fatal: unable to auto-detect email address (got 'stevex@stevebookpro.(none)')

我试过建议的git命令;当我在存储库中运行git config user.email时,我看到了一个正确的电子邮件地址.我没有看到它从哪里拉出不正确的.

解决方法 和大多数人一样,我希望,我有正确的user.email和user.name全局设置,之前从未遇到过Xcode的问题.

我发现通过制作这些设置本地Xcode再次开心.

那是:

cd <YourCodeRepository>xcrun git config user.email "[email protected]"xcrun git config user.name "Your name"
总结

以上是内存溢出为你收集整理的Xcode git自动检测电子邮件错误全部内容,希望文章能够帮你解决Xcode git自动检测电子邮件错误所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1114311.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-29
下一篇 2022-05-29

发表评论

登录后才能评论

评论列表(0条)

保存