git 使用中提示:Author identity unknown 怎么处理
使用git命令报错Author identity unknownglobal to set the identity only in this repository.
·
Author identity unknown
*** 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 'caoshuling@LAPTOP-9RTEVIEQ.(none)')
需到项目 .git\config文件最后添加用户名和邮箱,可通过如下命令添加:
git config --global user.name "Tester"
git config --global user.name "Tester@163.com"
更多推荐




所有评论(0)