xcode – “git配置”的必要设置是什么?
发布时间:2020-12-14 19:27:30 所属栏目:百科 来源:网络整理
导读:当我在 Xcode 4.3中创建一个项目时,它会继续显示下面的消息.我没有得到这意味着什么以及如何进行必要的设置. 任何帮助将不胜感激. 谢谢 巴哈 Please tell me who you areRun git config --global user.email"you@example.com"git.config --global user.name"
当我在
Xcode 4.3中创建一个项目时,它会继续显示下面的消息.我没有得到这意味着什么以及如何进行必要的设置.
任何帮助将不胜感激. 谢谢 巴哈 Please tell me who you are Run git config --global user.email "you@example.com" git.config --global user.name"Your Name" to set your account's default identity. Omit --global to say the identity only in this repository. fatal:unable to auto-detect email address (got 'Home@s-imac-3.(none)")` 解决方法
它从字面上告诉你,到底要做什么.打开终端会话,然后运行此会话,将“you@example.com”替换为您的电子邮件地址:
git config --global user.email "you@example.com" 这为git设置了您的电子邮件地址,它使用它来识别您的提交对象. 然后,运行此命令,用您的名字替换“您的姓名”: git config --global user.name "Your Name" 这为git commit消息设置了你的名字,它使用它来为提交提供一个更易读的名称. 如果你不清楚这些东西,你真的应该自己去学习git:http://try.github.io (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |