您的位置:首页 > 编程语言

Xcode 提交代码到github 报 Please tell me who you are

2015-03-29 00:00 645 查看
摘要: Xcode 提交代码到github 报 Please tell me who you are

一 问题描述

通过Xcode 提交代码到 github 报 Please tell me who you are. Run git config --global user.email "you@example..

二 问题处理

该问题是git config 文件没配置好的缘故。

2.1 查看git config 文件

➜  .git git:(master) cd ~/.git;cat config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[user]
name = youName
email = youEmail


2.2 配置git config

2.2.1 通过 vi 命令直接编辑

2.2.2 通过git命令
git config  --global user.email "youEmail"
git config  --global user.name "youName"
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: