git commit 时报错:

** 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 'tim@newton.(none)')

解决办法:

找到工程目录的.git文件夹,打开之后找到config文件,在最后边加上一句话(注意 = 左右的空格,还有符号的英文性)
[user]
 email = your email
 name = your name

最新文章

  1. Ctrip Mydream
  2. SQL Server 索引(index) 和 视图(view) 的简单介绍和操作
  3. hdu 1008 注意同层情况
  4. bootstrap插件学习-bootstrap.scrollspy.js
  5. js获取单选框里面的值
  6. 卷积神经网络CNN介绍:结构框架,源码理解【转】
  7. bzoj4518
  8. 移动web开发的一些坑
  9. OrCAD Capture CIS与Allegro交互布局
  10. Codeforces Round #332 (Div. 2) A. Patrick and Shopping 水题
  11. android通用文件操作
  12. 初涉JavaScript模式 (2) : 基本技巧
  13. 【HTML5】HTML5新布局元素
  14. Dynamics CRM2016 Web API之Expand related entities & $ref & $count
  15. python使用h5py读取mat文件数据,并保存图像
  16. ubuntu git的安装更新及配置
  17. 知识点:Java 集合框架图
  18. [转] 可跨域的单点登录(SSO)实现方案
  19. DevExpress控件汉化教程详解
  20. 慢吞吞的pip切换源

热门文章

  1. 【转】Jmeter-----函数引用和函数重定向
  2. AC日记——[USACO10MAR]仓配置Barn Allocation 洛谷 P1937
  3. CentOS7.5安装下载工具
  4. 错误:在maven install是抛出 “1.5不支持diamond运算符,请使用source 7或更高版本以启用diamond运算符”
  5. 从零开始做SSH项目(一)
  6. 关于sql查询语句中的别名
  7. 洛谷——P1748 H数
  8. 图灵杯 E 简单的RMQ(UVA 11235)(RMQ)
  9. Sd - Java多线程
  10. [P4064][JXOI2017]加法(贪心+树状数组+堆)