git Please tell me who you are [How to Solve]

When git creates a project,
appears because the information is not perfect when creating git folder.
the following figure is correct.
appears when git creates a project,
This is due to incomplete information when creating git folder
the following figure is correct
1. Git init
2. Git config user. Name “someone”
3. Git config user. Email“ [email protected]
4.git add *
5.git commit -m “some init msg”
*** 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.

fatal: unable to auto-detect email address (got ‘ Administrator@MS-201610130300. (none)’)

so the solution is to add when the above prompt appears
you execute git config — global user.email “your mailbox”
git config — global user.name “your name”
(note that “there are spaces in front of it)
after entering, then execute Git commit to succeed

Similar Posts: