Today I come with the quick solution of an issue when trying to commit the file to GitHub. Now I am using git for version control and allow you to save copies of the code to there, till now I was using SVN and TortoiseSVN for committing my WordPress plugins which you can find here.
I am unable to commit to git, I get ‘**Please tell me who you are’ every-time.
git commit -m "resolved #1 testing of commit with message and issue id" phpinfo.php
*** 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. fatal: empty indent not allowed
The solutions I found to this problem is I have Run the following command to set my user and email
git config --global user.email "[email protected]" git config --global user.name "Bhumi Shah"
and this solved my problem.Hope this article helpful to someone.