我对git很陌生,在尝试提交时,我得到了以下信息:
$ git commit -m "Initial commit"
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 '91949@PC.(none)')"我怎样才能把我的文件交出来?
发布于 2021-12-09 13:58:09
答案在命令返回的文本中:
运行
git配置--全局user.email "you@example.com“
git配置--全局user.name“您的名字”
运行其中之一,提供您的电子邮件或您的名字和git应该很高兴让您提交。
https://stackoverflow.com/questions/70291127
复制相似问题