-
-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deployer ignores user's name & email specified in _config.yml deploy/name and deploy/email #112
Comments
Is it true that if the deployer runs once and creates If so, that would explain what happened with me. I did not have the |
I meet the same situation as you .Here's my solution. |
It works. Nice solution. |
It works, thanks. By the way, redeployment will overwrite the commits hexo has pushed before. |
I do not have global git user-name & user-email configured, but I do have this in my _config.yml:
However, each time I run
hexo deploy
I get this message:The commit gets done using that incorrect name & email. Is this a bug?
I checked in
.deploy_git
and its.git/config
does not contain any user name or email. It appears like these lines https://github.com/hexojs/hexo-deployer-git/blob/master/lib/deployer.js#L73-L75 are supposed to add those to the.git/config
.The text was updated successfully, but these errors were encountered: