fatal: unable to auto-detect email address
See original GitHub issueVersions
Angular CLI: 6.0.5 Node: 8.11.1 OS: linux x64
Repro steps
git config --global unset user.email
ng new mytestapp
Observed behavior
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
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 (
I consider that since there is a fatal error, the command has not ended successfully.
Why a generation of a new project requires that I have a globally set user.email
? I setup this per-project, not globally.
Desired behavior
Not to raise a fatal error, if git
user.email has not been set globally.
Mention any other details that might be useful (optional)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top Results From Across the Web
git: fatal unable to auto-detect email address - Stack Overflow
Open Visual Studio; Click on Git menu > Source Control > Git Repository Settings > General; Set the 'User name' and 'Email'; Click...
Read more >fatal: unable to auto-detect email address #246 - GitHub
Run git config --global user.email "you@example.com"... ... fatal: unable to auto-detect email address (got 'me@me-PC.(none)').
Read more >fatal unable to auto-detect email address got root xxxxx none
Hi Team, I am trying to commit one file to the Git server. But it is showing me the below ... to auto-detect...
Read more >Message "unable to auto-detect email address" Is Displayed
The message unable to auto-detect email address is displayed after the git commit command is executed.The user name and email address have ...
Read more >git: fatal unable to auto-detect email address - Intellipaat
Make sure that you are in the home directory and not in the local directory while setting your username and e-mail ID. git...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I am marking this as a feature, if you would like to create a project while controlling the git options, you can use the
--skip-git
option which will not create the repo.This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.