- hexo d 时出现错误 Error: ERROR: Permission to
nothing to commit, working directory clean
ERROR: Permission to KentSun/KentSun.github.io.git denied to honkerSK.
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: ERROR: Permission to KentSun/KentSun.github.io.git denied to honkerSK.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
at ChildProcess.<anonymous> (/github/blog-KentSun/node_modules/hexo-util/lib/spawn.js:37:17)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Socket.stream.socket.on (internal/child_process.js:381:11)
at Socket.emit (events.js:182:13)
at Pipe._handle.close (net.js:606:12)
原因: KentSun/KentSun.github.io.git 拒绝接受 honkerSK. 说明当前有两个github账号,可以更新博客, 新的github账号没有配置好.
解决:
参考如下文章即可 多个github帐号更新多个hexo博客