What is the reason for the error "unable to auto-detect email address (got 'email @ domain. (none)')"?

0

Good morning, all right?

I'm testing a networked git server. I created the repository on a network server, the settings are ok from one of the development machines, since I was able to use all git commands 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 similar post and with the same error but, it was to Git Hub itself and in my case it does not help, or at least I believe not.

What would be the cause of the error then?

    
asked by anonymous 13.12.2018 / 14:08

1 answer

1

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

You can use the following command to define:

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

And, taking advantage of it, set the name too:

git config --global user.name "Seu Nome"
    
14.12.2018 / 20:55