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 also have a public repository of my own on GitHub for my module in Joomla.
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
When try to commit the file to GitHub, got following error message.After I search in google, found that the problem I had that needs to pass my email addresses for different Git repositories.
*** Please tell me who you are. Run git config --global user.email "you@example.com" 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 "test@youremail.com" git config --global user.name "Bhumi Shah"
and this solved my problem.Hope this article helpful to someone.






Comments (12)