我刚刚将我的 Xcode 更新到版本 10.2 (10E125)。
在我想提交的那一刻,我收到以下消息:
点击修复后:
我已经填写了信息,但我仍然收到上面的消息。
什么原因?
You can set the author information using Terminal. It might be possible that xCode has the author data but it's not actually set in Git config.
1) Open Terminal.
2) Set a Git username:
$ git config --global user.name "Mona Lisa"
3) Confirm that you have set the Git username correctly:
$ git config --global user.name
> Mona Lisa
1) Open Terminal.
2) Change the current working directory to the local repository where you want to configure the name that is associated with your Git commits.
3) Set a Git username:
$ git config user.name "Mona Lisa"
4) Confirm that you have set the Git username correctly:
$ git config user.name
> Mona Lisa
Source: https://help.github.com/en/articles/setting-your-username-in-git
单击“修复”并提供您的 Git 用户名和电子邮件。这解决了我的问题。