Problem related to creating new application in nRF SDK v2.4.2 and nNR Connect for Desktop v4.2.0

Dear sir/madame

In our development we have used NRF52 SDK’s and currently using SDK17.1.0 and SES.

Due to new upcoming projects, we are considering moving to Zephyr and Visual Studio IDE. Our development PC’s are running Windows 11.

A couple of days ago we installed NRF Connect for desktop on a brand-new PC and followed your installing guidelines.

 

Everything went well up to the point where we created a new application, where we got the following error.

--------------------------------------------------------------------

[23:02:45] nRF Command Line Tools 10.23.0 are up to date

Command failed: git commit -m "Initial commit for Test1"

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 'sthor@Development-PC.(none)')

 

---------------------------------------------------------------------

 

To your information, we have not used GIT in our development process, but we have some basic knowledge about GIT.

How can we correct the issue described above?

Kind regards,

 Svein

Parents Reply Children
  • Hi Swathy,

    Please see my first post in this thread.

     

    We have installed the latest version of nRF Connect for Desktop on a brand-new computer (windows 11) for learning the new SDK.

    We have followed Nordic videos on how to install the SDK and came to the point where we should create a new project. Then we got the following message:

    ==============================================

    [23:02:45] nRF Command Line Tools 10.23.0 are up to date

    Command failed: git commit -m "Initial commit for Test1"

    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 'sthor@Development-PC.(none)')

    ==================================================

     

     

    As mentioned, we do not have any experience with GIT, but have some basic idea of what GIT is.

     So, my question is: How to move on from here?

     

    Kind regards

    Svein

  • Hi Svein,

    Svein said:

     Run

       git config --global user.email "[email protected]"

      git config --global user.name "Your Name"

    Did you try running this.? Once you do this, everything should work as intended.

    Regards,

    Swathy

  • Hi Svein,

    Svein said:

     Run

       git config --global user.email "[email protected]"

      git config --global user.name "Your Name"

    Did you try running this.? Once you do this, everything should work as intended.

    Regards,

    Swathy

  • Hi Swathy

    Just to clarify; does this means that we must install GIT client on our development PC and create an account in GITHUB?

    I couldn’t see that GIT was mentioned in the installation guide.

     

    If we do not need to install GIT, how to run the cmd mentioned?

     

    Kind regards

    Svein

  • Hi Swathy,

    I have the same problem as Svein.  Having followed the exercise-2-1 on

    //academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-1-nrf-connect-sdk-introduction/topic/exercise-2-1/

    where I should copy the Blinky Sample to C:\nordic\myapps\fund_less1_exer2  (as told)

    I get the same problem with git as Svein got.

    You suggested to run some commands.  Where do I run them? Which account ?  What email?  Which user?

    Please inform a novice like me how to proceed Slight smile

    Best regards

    eibs

Related