hexojs / hexo-deployer-git

Git deployer plugin for Hexo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

There's something wrong with hexo D

Muska-Ami opened this issue · comments

输入hexo d出现下列问题
Enter hexo d with the following problem

INFO Validating config
INFO Deploying: git
INFO Clearing .deploy_git folder...
INFO Copying files from public folder...
INFO Copying files from extend dirs...
Author identity unknown

*** 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: unable to auto-detect email address (got 'Administrator@DESKTOP-DAAI68E.(none)')
error: src refspec HEAD does not match any
error: failed to push some refs to 'ssh://github.com:XiaMoHuaHuo-CN/XiaMoHuaHuo-CN.github.io.git'
FATAL {
err: Error: Spawn failed
at ChildProcess. (F:\blog\node_modules\hexo-util\lib\spawn.js:51:21)
at ChildProcess.emit (events.js:315:20)
at ChildProcess.cp.emit (F:\blog\node_modules\cross-spawn\lib\enoent.js:34:29)
at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) {
code: 1
}
} Something's wrong. Maybe you can find the solution here: %s https://hexo.io/docs/troubleshooting.html