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 'void@void-ThinkPad-E450.(none)')

找到工程目录的.git文件夹,打开之后找到config文件,在最后边加上一句话
[user]
email=your email
name=your name

[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = https://github.com/VoidSem/user_rootfs_misc
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[user]
email=your@email
name=yourname 

然后再次提交就可以了

最新文章

  1. AngularJS 系列 01 - HelloWorld和数据绑定
  2. CGI概念
  3. Nginx反向代理和负载均衡部署指南
  4. Winform启动隐藏,WebBrowser交互JS
  5. Windows 运行时组件
  6. DP入门---Robberies
  7. iOS NSFileManager
  8. 小白教你玩转php的闭包
  9. 使用BitTorrent-Sync实现双机文件双向同步
  10. ANR
  11. oracle11g RAC添加节点
  12. Sql server 大全
  13. nginx 环境搭建使用之入门
  14. 用Iconv应对NodeJs对称加密技术在汉字编码与NoSQL的一些坑洞
  15. fastDFS与Java整合上传下载
  16. c#Socket服务器与客户端的开发(1)
  17. javascript排序算法-快速排序
  18. 基于容器的ETCD集群脚本
  19. map的实际操作用并for_each遍历
  20. 以太坊虚拟机EVM 和EOS 虚拟机的劣势!

热门文章

  1. 在EXCEL中批量添加超链接
  2. gitlab安装CI问题汇总
  3. use关键字在PHP中的几种用法
  4. 在PHP中灵活使用foreach+list处理多维数组
  5. Linux系列(34) - yum源文件(1)
  6. javascript 字符串 数字反转 字母大小写互换
  7. 『Python』优雅的记录日志——loguru
  8. GDOI 2021 退役记
  9. Visual Studio Code (VSCode) 配置 C/C++ 开发编译环境
  10. APScheduler(python 定时任务框架)最简单使用教程