【发布时间】:2021-02-23 21:21:52
【问题描述】:
我正在尝试在 GitHub 上共享我的一个 IntelliJ 项目,但每当我尝试这样做时,都会收到一条错误消息,提示它成功创建了项目但初始提交失败。它为我提供了有关如何解决此问题的说明,但我不知道这些说明的含义。谁能破译错误并告诉我该怎么做?
这是错误:
Can't finish GitHub sharing process
Successfully created project 'basic-program' on GitHub, but initial commit failed:
*** 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. unable to auto-detect email address (got 'Owner@****.(none)')
【问题讨论】:
-
您是否尝试过从错误消息中运行命令(即 git config ...)?
-
下次请把错误信息作为文字附上,并添加图片以供澄清。这样,其他人在搜索确切错误时就能找到您的问题和答案。
标签: git github intellij-idea