I just updated my Xcode to version 10.2 (10E125).
A moment I want to commit, I get this message:
After I click on fix:
I have filled in the information, but I’m still getting that message above.
What's the reason?
Setting your Git username for a single repository Click on "Fix" and provide your Git username and email. This fixed my issue.
To copy a remote repository, select Source Control > Clone. If you add one or more source control accounts, Xcode shows a list of the projects that you can select to clone. Alternatively, get a URL for a remote repository, paste it into the repository URL field, and press Enter.
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
Click on "Fix" and provide your Git username and email. This fixed my issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With