Trying to commit a file

Hi everyone,
I've been trying to commit a file to later push it into a github repository however I keep getting this message

" *** 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 (got 'myname@DESKTOP-...(none)') "

I proceed to click on:

Tools > Terminal > New Terminal

When the terminal is open I type " git config --global --list" and my user name as well as my email appear.

I want to know why I cannot commit my files even if my user name and email are there.
Would someone help me, please?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.