When running git commit -m "Commit message"
It returns the error message:
fatal: empty ident name (for ((null))) not allowed
and then asks for the account's default identity.
See the command prompt screenshot for more details.
Just as the text in the screenshot says, you need to tell git who are you committing the code as, by using e.g.:
git config --global user.name "John Smith"
git config --global user.email "[email protected]"
You need to set your user name and email address, which sets your identity before you can commit anything. Please follow the instructions here.
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