在Git Bash中提交时报错:
** 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 'Anita@newton.(none)')
解决方法:
输入提示的两行命令,命令中的email及name改为自己真实的email及name
提示命令:
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
我的执行命令:
git config --global user.email "ksenia111@163.com"
git config --global user.name "Anita"