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.


git config –global ” [email protected]
git config –global “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 “your mailbox”
git config — global “your name”
(note that “there are spaces in front of it)
after entering, then execute Git commit to succeed

Similar Posts: