博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
git创建项目报错:please tell me who you are
阅读量:6970 次
发布时间:2019-06-27

本文共 740 字,大约阅读时间需要 2 分钟。

 

在git创建项目时出现,

是因为在创建git文件夹的时候信息不完善导致的
下图是正确
在git创建项目时出现,
是因为在创建git文件夹的时候信息不完善导致的
下图是正确
1.git init
2.git config user.name "someone"
3.git config user.email "someone@someplace.com"
4.git add *
5.git commit -m "some init msg"
*** 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 set the identity only in this repository.
fatal: unable to auto-detect email address (got 'Administrator@MS-201610130300.(none)')
所以解决方法是当出现这个上述提示后 接着补充
你在命令行中执行
git config --global user.email "你的邮箱"
git config --global user.name "你的名字"
(注意 “ 前面是有空格的)
输入完后再接着执行git commit 即可成功!

转载于:https://www.cnblogs.com/loveling-0239/p/9656739.html

你可能感兴趣的文章
selenium 中装饰器作用
查看>>
mysql驱动名更新
查看>>
三、Flask_会话控制与请求钩子
查看>>
WS Security 认证方式详解
查看>>
Spring Webflux: Kotlin DSL [片断]
查看>>
搜索引擎选择: Elasticsearch与Solr
查看>>
mysql联合索引
查看>>
监听服务管理(转)
查看>>
java中Hashtable中的t为什么是小写(转)
查看>>
linux C 内存管理方式之半动态
查看>>
图文并茂的生产者消费者应用实例demo
查看>>
asp.net core上使用redis探索(1)
查看>>
程序员的职业素养(读书笔记)-- 第一章
查看>>
Java实现线性表-顺序表示和链式表示
查看>>
HDU Simple Addition Expression
查看>>
mysql启动和关闭外键约束的方法
查看>>
idea如何打war包?(部署tomcat后具有class文件)
查看>>
安装 Docker <一>
查看>>
20165206 2017-2018-2 《Java程序设计》第三周学习总结
查看>>
C#中的Dictionary字典类介绍
查看>>