visual studio code --> fatal: unable to auto-detect email address

Good Morning,

I have instaled ncs 2.5.0 on a new PC windows11 and when I create a new application for i.e a blinky application for one test. 

Visual studio code indicate : Failed to create application. View the Output panel for more information.

[23:24:35] nRF Command Line Tools 10.23.2 are up to date
Command failed: git commit -m "Initial commit for blinky"
Author identity unknown

*** 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 'leatr@LEA-TRILLES.(none)') ?
I don't understand the issue. 
Thanks 
Alexandre
  • Hi Alexandre,

    When you make a new application from a sample in nRF Connect for VS Code, a Git repository is automatically created and the sample code committed to that repo. However, this only works if you have configures the name and email in Git, as explained in the error message:

      git config --global user.email "[email protected]"
      git config --global user.name "Your Name"

    The team is aware of this and in a future release this error message will be supressed to avoid confusion.

    Einar

Related