Command line: "hexo d" and you got error message: Please tell me who you are.
Full error message info:
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.
error: src refspec HEAD does not match any.
error: failed to push some refs to(your ...github.io)
When I ran "hexo d" command, the deployment was stuck! The reason was I updated my mac OS a few days age. Now, the system can't distinguish your indentity.
So, the solution can solve it:
Solution:
Input commands:
git config --global user.email "email"
//Your github email address(https://username.github.io)git config --global user.name "username"
//(your nickname、github's username or anyone you name it) only English!