美文网首页
Xcode弹出git设置

Xcode弹出git设置

作者: iOS_July | 来源:发表于2017-06-25 16:43 被阅读71次

Xcode弹出git提示

*** Please tell me who you are.

Run

git config --global user.email"you@example.com"

git config --globaluser.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 'Rabstone@bogon.(none)')

之前一直没这个提示,突然就出现了,自己捣鼓了半天,写下这篇文章,希望给遇到同样问题的小伙伴提供帮助。

共勉

解决方案

1.打开终端

2.进入你的项目

3.输入git

4.设置user.name和user.email

    (1)git config --global user.name "Your Name"

    (2)git config --global user.email "Your email"

5.如果不放心,你可以看一下你设置成功没有

    git config -l

一图顶千字


没毛病吧。。。

相关文章

  • Xcode弹出git设置

    Xcode弹出git提示 *** Please tell me who you are. Run git conf...

  • Xcode相关

    设置Git和忽略文件 进入Xcode,打开偏好设置,选择Source Control,选择Git 添加用户名和邮箱...

  • Mac xcode 生成.DS_Store GIT无法忽略

    明明GIT忽略了.DS_Store,还是会记录,是因为xcode的GIT重复记录了 xcode -> 设置->So...

  • 终端上传项目

    Xcode怎么删除原本git,在重新设置新的git地址 关闭Xcode 打开终端 1.首先先进入到项目目录 cd ...

  • Git的使用

    Xcode怎么删除原本git,在重新设置新的git地址 关闭Xcode打开终端1.首先先进入到项目目录 cd **...

  • iOS项目 自带git 版本管理向git迁移 fatal:un

    项目要迁移到git 一。删除原本git,在重新设置新的git地址 关闭Xcode 打开终端 1.首先先进入到项目目...

  • Xcode&Git的使用

    一。删除原本git,在重新设置新的git地址 关闭Xcode 打开终端 1.首先先进入到项目目录 cd **** ...

  • ios - 钥匙串开发(keychain开发)

    设置xcode 下载苹果官方文档中的类文件KeychainItemWrapper.h与.m文件,我备份到了git上...

  • Git

    一、安装Git 在 Mac OS 上安装Git:直接从AppStore安装Xcode,Xcode集成了Git,不过...

  • iOS之git

    Git 安装Git 直接从AppStore安装Xcode,Xcode集成了Git,不过默认没有安装,你需要运行命令...

网友评论

      本文标题:Xcode弹出git设置

      本文链接:https://www.haomeiwen.com/subject/xtlrcxtx.html