Problem Description.
Using git commit -m “wrote a readme file”, I encountered this problem
** 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 ‘tim@newton.(none)’)
Solution.
Find the .git folder in the project directory, open it, find the config file, and add the following information at the end.
[user]
email=your email
name=your name
Note: You may not be able to find the .git file in the project directory, that’s because this directory is hidden by default, let’s show it and it will be fine.
Similar Posts:
- git commit–fatal: unable to auto-detect email address
- git Please tell me who you are [How to Solve]
- Git is used and an error is reported. Author identity unknown solution
- Git Push Github ERROR: Permission to xxx.git denied to user
- [Solved] Visual Studio Error: Creation of the virtual directory http://localhost:62498/ failed with the error: Filename: \\?C:…………………………
- How to Solve Apple Mac installs Axure to open error for the first time
- gitlab fatal: Authentication failed for ‘http://10.2.80.17:8090/yeyichao/201904041026PROj.gi…
- Couldn’t communicate with a helper application.
- [Solved] Working copy locked occurs when SVN commit
- The ‘INFORMATION_SCHEMA.GLOBAL_STATUS’ feature is disabled; see the documentation for …