git commit--fatal: unable to auto-detect email address
2024-08-24 05:16:18
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
然后再次提交就可以了
最新文章
- AngularJS 系列 01 - HelloWorld和数据绑定
- CGI概念
- Nginx反向代理和负载均衡部署指南
- Winform启动隐藏,WebBrowser交互JS
- Windows 运行时组件
- DP入门---Robberies
- iOS NSFileManager
- 小白教你玩转php的闭包
- 使用BitTorrent-Sync实现双机文件双向同步
- ANR
- oracle11g RAC添加节点
- Sql server 大全
- nginx 环境搭建使用之入门
- 用Iconv应对NodeJs对称加密技术在汉字编码与NoSQL的一些坑洞
- fastDFS与Java整合上传下载
- c#Socket服务器与客户端的开发(1)
- javascript排序算法-快速排序
- 基于容器的ETCD集群脚本
- map的实际操作用并for_each遍历
- 以太坊虚拟机EVM 和EOS 虚拟机的劣势!