Skip to content

fatal: unable to auto-detect email address #11040

@ghuser

Description

@ghuser

Versions

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    2022Q3 FixitCandidates for the Q3 2022 fix-itarea: @schematics/angularfeatureIssue that requests a new featurefeature: insufficient votesLabel to add when the not a sufficient number of votes or comments from unique authors

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions