解决办法:

git config需按顺序执行,需 config姓名, config邮箱地址!

 git config --global user.name "xxx"git config --global user.email "xxx@xxx.com"

通过google,在stack overflow找到的解决方法:解决方法原链接。

问题描述

git commit的时候提示错误

*** Please tell me who you are.Rungit config --global user.email "you@example.com"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: empty ident name (for <>) not allowed

接着按顺序执行

git config --global user.email "xxx@xxx.com"
git config --global user.name "xxx"

发现依然提示同样的错误

*** Please tell me who you are.Rungit config --global user.email "you@example.com"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: empty ident name (for <lipeiyang@cmiot.chinamobile.com>) not allowed

git config之后仍无法commit,提示 “fatal: empty ident name“相关推荐

  1. git向远程推送代码提示fatal: Authentication failed

    用git向远程推送代码提示invalid username or password, 参考 fatal: Authentication failed for 'https://github.com/w ...

  2. Git config alias 设置命令别名

    平时在使用 svn 时习惯使用 ci(commit).co(checkout) .st(status)等简洁的命令,但是在 Git 中没有提供这些简洁的命令,不过 Git 提供了别名机制,使用别名机制 ...

  3. Git config 配置

    一.config文件分类 Git中有三层config文件:系统.全局.本地 查看不同级别的配置文件: #查看系统config git config --system --list#查看当前用户(glo ...

  4. 解决git commit提示Please tell me who you are

    解决git commit提示Please tell me who you are 转载原地址 在git创建项目时出现, 是因为在创建git文件夹的时候信息不完善导致的 下图是正确 在git创建项目时出 ...

  5. Git 提示fatal: remote origin already exists 错误解决办法

    今天使用git 添加远程github仓库的时候提示错误:fatal: remote origin already exists. 最后找到解决办法如下:  1.先删除远程 Git 仓库 $ git r ...

  6. 【git】Git 提示fatal: remote origin already exists 错误解决办法

    今天使用git 添加远程github仓库的时候提示错误:fatal: remote origin already exists. 最后找到解决办法如下:  1.先删除远程 Git 仓库 $ git r ...

  7. git init、git status、git config user.name、git add、git commit、git remote、git push、git clone、git pull

    1. Git本地仓库初始化 1.1 git init 功能 git init:初始化一个新本地仓库,它会在工作目录下生成一个.git的隐藏文件夹来管理仓库,千万不要删掉它. 1.2 git statu ...

  8. iOS开发:GitHub上传代码错误提示fatal: Authentication failed for 'https://gitee.com/XXX/XXX.git/‘的解决方法

    上传代码到Git上面,有时候会遇到各种情况,有些时候是因为合并代码冲突,有些时候是因为修改了Git的登录密码需要重新认证.那么这里就来讲解错误提示fatal: Authentication faile ...

  9. git提交失败提示 fatal:The remote end hung up unexpectedly

    遇到的问题 今天在提交的代码时遇到提交失败的问题,经过测试发现提交较少的文件没有问题,提交的改动比较大的时候就会出现报错,所以基本排除git权限导致的问题. 报错信息如下: error: RPC fa ...

  10. 创建vue项目的时候报错:Skipped git commit due to missing username and email in git config.

    创建vue项目的时候报错: WARN Skipped git commit due to missing username and email in git config, or failed to ...

最新文章

  1. 趣谈GC技术,解密垃圾回收的玄学理论(一)
  2. 穿过代理服务器取远程用户真实IP地址
  3. 查询字符串中字母出现的个数
  4. 01-MPLS产生的背景/以及和其他技术比较的优势
  5. : Content type 'text/plain;charset=UTF-8' not supported
  6. MYSQL读书笔记---运算符、字符串操作
  7. Net Core下多种ORM框架特性及性能对比
  8. 通过结构体某个成员的地址计算结构体首地址
  9. [zz]ctags和vim- -
  10. java面试知识记录
  11. 600个开源iOS应用库
  12. o(n)复杂度下实现数组去除重复项
  13. delphi报列表索引越界怎么处理_深入了解散列表
  14. Linux c中一些常用函数总结(c语言中文网。。。)
  15. http是不是中间件_等保2.0涉及的Apache Tomcat中间件(上)
  16. 快速修改本機局域網IP信息
  17. python写入文件后换行_python写入文件自动换行问题的方法
  18. 关于Zipf定律的理解和python实现
  19. 怎么做自媒体,这份入门攻略,建议收藏
  20. 2019最受欢迎语言_2019年100最受欢迎的免费在线课程

热门文章

  1. 停车场管理系统php设计,停车场管理系统设计源代码
  2. _GLIBCXX_USE_CXX11_ABI 定义不一致带来的宕机问题
  3. 中国IT的领路人——播布客
  4. 用Java做一个判断闰年和平年代码
  5. 解决在win2003 enterprise上搭建IIS遇到的“需要Service Pack 2 CD-Rom 上的文件“问题
  6. python 将彩色图片 黑白图片变换
  7. 浩辰3D 软件入门技巧:装配设计
  8. notejs 视频教程 智能社
  9. java ssl 双向认证_Java实现SSL双向认证的方法
  10. 计算机cpu天体图,台式电脑CPU天梯图2019年1月版更新 多款新九代酷睿处理器了解下...