當使用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 "注釋"