Trying To Commit a File into a Repo

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.
git config --global ""
git config --global "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?
I've got an assigment to submit. So please can someone help me?

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