From http://...-> FETCH_HEAD = [up to date] feature-assumeUnit -> origin/feature-assumeUnit Committer 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. unable to auto-detect email address (got '123@you.(none)')
这个问题是因为Git无法自动检测到你的邮箱地址。你可以尝试以下方法来解决这个问题:
-
打开命令行(Windows下为cmd,macOS和Linux下为terminal)。
-
输入以下命令,设置你的用户名和邮箱地址:
git config --global user.email "you@example.com" git config --global user.name "Your Name"
将
you@example.com
替换为你的实际邮箱地址,将Your Name
替换为你的用户名。如果你只想在当前仓库设置这些信息,可以省略--global
参数。 - 重新尝试克隆、推送或拉取远程仓库,问题应该已经解决。