fatal: unable to auto-detect email address (got ‘…@…(none)’)
一、错误:
*** Please tell me who you are.
Rungit 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 'jyc@jyc1.(none)')
二、解决
? 在git clone的工程目录下,打开.git文件夹下的config文件。
cd 工程路径/.git
sudo gedit config
? 将下面内容添加到到config末尾(注意格式),即可解决。
[user]
email=your email
name=your name