出错“Author identity unknown *** Please tell me who you are. Run git config --glo”


当使用git出现错误

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: empty ident name (for <2454373641@qq.com>) not allowed

解决方法:

依次输入以下命令:

1git init
2.git config user.name  "gitee/gitHub的用户名称"
3.git config user.email  "你的邮箱"
4.git add *
5.git commit -m "注释"

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM