Xcode git Email Autodiscover Error

With Xcode 7, I have a problem with git code.

I get this error: *** 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 default identity. Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address (got ' stevex@stevebookpro. (none)') 

I tried the suggested git commands; when I run git config user.email in the repository, I see the correct email address. I do not see where he is pulling the wrong one.

+6
source share
2 answers

Like most people, I expect that I had the correct global settings for user.email and user.name and never had problems with Xcode.

I found that after these settings local Xcode was happy again.

I.e:

 cd <YourCodeRepository> xcrun git config user.email " you@example.com " xcrun git config user.name "Your Name" 
+8
source

You are not the only one. There is even a special topci on apple forums . I also tried renaming global settings - nothing helped. Try using:

 xcrun git config --global user.email " you@example.com " xcrun git config --global user.name "Your Name" 

but unfortunately it didn’t work for me. I think they will fix it after the official release. Until then, you should use Terminal, Source Tree or other tools.

0
source

All Articles