I am following the official guide of GIT, and actually I am at 2.2.6 paragraph " Committing Your Changes" Previously, at section 1.5.1 "Identity" when asked to enter a command like
git config --global user.name "John Doe"
I missed the --global option because I don't need it. Now everytime I do a git commit, I obtain
$git commit
*** 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.
but I do not want to enter a --global option, does exist another way?


user.emailanduser.name? Can you show the contents of.git/configfor your project?Omit --global to set the identity only in this repository.