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?
If you just want to set it for that repository, run:
git config user.email "[email protected]"
git config user.name "Your Name"
Just type the same name that you have in your GitHub account, the same the same letters and character.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With