简体   繁体   English

Xcode仓库Git错误

[英]Xcode Repositry Git Error

Please review the screen shot, and let me know how can i fix this? 请查看屏幕截图,让我知道如何解决此问题? I am using my computer and this configuration from last 1 year and I have no issue, It is suddenly happen. 我正在使用计算机,并且使用了过去1年的配置,所以我没有问题,这是突然发生的。

在此处输入图片说明

You seem to try to commit/push to a remote repository, while you haven't yet given git your identity/email address + password. 您似乎尚未将git的身份/电子邮件地址和密码输入git时,便尝试将其提交/推送到远程存储库。 The steps to do this are already stated in the error message: Just open up Terminal and enter the two commands: 错误消息中已经说明了执行此操作的步骤:只需打开终端并输入两个命令:

git config --global user.email "youremail@example.com"
git config --global user.name "Your Name"

You'll be prompted for your password several times. 系统将多次提示您输入密码。 To cache your password follow the instructions here: https://help.github.com/articles/caching-your-github-password-in-git/ 要缓存密码,请按照此处的说明进行操作: https : //help.github.com/articles/caching-your-github-password-in-git/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM