在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"
在使用GitBash进行提交时遇到错误提示,需要设置用户身份。通过运行`git config --global user.email your_email@example.com`和`git config --global user.name YourName`来设置邮箱和姓名,将`your_email@example.com`和`YourName`替换为实际信息。博主已将其设置为`git config --global user.email ksenia111@163.com`和`git config --global user.name Anita`。
4311

被折叠的 条评论
为什么被折叠?



