[Report error] Github submission

fatal: unable to auto-detect email address (got ‘user@Ubuntu1604.(none)’)

Error message

*** Please tell me who you are.

Run

git config --global user.email “[email protected]
git config --global user.name “Your Name”

to set your account’s default identity.
Omit --global to set the identity only in this repository.

Problem Description

When submitting the git version for the first time, the reason was that you did not enter your email and user name and
follow the prompts to enter

solve

Execute the following commands:

  • git config --global user.email "your mailbox"
  • git config --global user.name "username"

Insert picture description here

Guess you like

Origin blog.csdn.net/qq_37747189/article/details/115342449