What is the reason for the error "Unable to auto-Detect email address (got 'email@dominio.(None)')"?

Asked

Viewed 1,993 times

0

Good morning guys, all right?

I’m testing a networked git server. I created the repository on a network server, the settings are ok of one of the development machines, because I was able to use all the commands git without problems, add, commit, push and etc

But on another machine, I get the title error:

Unable to auto-Detect email address (got'email@domain. (None)')

Searching here I found a post similar and with the same error but, it was for Git Hub same and in my case does not help, or at least I believe that not.

What would be the cause of the error then?

1 answer

2


You need to set the email that will be used by git to apply the commits, via the variable user.email.

You can use the following command to set:

git config --global user.email "[email protected]"

And, taking advantage, configure the name also:

git config --global user.name "Seu Nome"
  • 1

    Thank you very much... I was using user.mail in place of user.email... It worked here... Thanks even...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.