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:
- fatal Error: unable to auto-detect email address (got ‘tim@newton.(none)’) [Solved]
- git commit–fatal: unable to auto-detect email address
- Git is used and an error is reported. Author identity unknown solution
- Git Push Github ERROR: Permission to xxx.git denied to user
- Couldn’t communicate with a helper application.
- Git Fatal: The remote end hung up unexpectedly [How to Solve]
- gitlab fatal: Authentication failed for ‘http://10.2.80.17:8090/yeyichao/201904041026PROj.gi…
- Vue Project: npm run dev :missing script:dev [How to Solve]
- Solution: git uses git push to jump out of remote: permission to a denied to B
- Failed to connect to github.com port 443:connection timed out