git error:bad signature
解决方案:删除index
文件再重新生成1
2rm -f .git/index
git reset
ERROR: You must verify your email address.
今天使用Hexo发布博客时,报了如下错误:1
2
3
4
5
6
7
8
9
10
11
12ERROR: You must verify your email address.
See https://github.com/settings/emails.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
Error: Spawn failed
at ChildProcess.<anonymous> (E:\Blog\blog6\node_modules\hexo-util\lib\spawn.js:52:19)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at ChildProcess.cp.emit (E:\Blog\blog6\node_modules\cross-spawn\lib\enoent.js:40:29)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
这是因为邮箱突然没有通过验证,具体怎么回事不知道.打开提示的链接https://github.com/settings/emails,然后重新验证就好了:
这时github会给你发邮件,打开邮箱接收邮件,然后点击按钮验证即可: