报错信息
*** Please tell me who you are.
Run
git config --global user.email “[email protected]”
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 ‘User@LAPTOP-PUF1QNBG.(none)’)
解决方法
在项目中找到.git
文件夹,点击找到config
文件,用记事本打开config
文件添加这些信息就可以了
[user]
name = xx
email = xx@xx.com