hexo-git-backup
hexo-git-backup copied to clipboard
fatal: Could not read from remote repository.
backup:
type: git
theme: indigo
repository:
github: [email protected]:Captainzj/hexo_backup.git,master
gitcafe: [email protected]:Captainzj/hexo_backup.git,master
➜ _posts git:(master) ssh -T [email protected]
Hi Captainzj! You've successfully authenticated, but GitHub does not provide shell access.
➜ _posts git:(master) ✗ git remote -v
gitcafe [email protected]:Captainzj/hexo_backup.git (fetch)
gitcafe [email protected]:Captainzj/hexo_backup.git (push)
github [email protected]:Captainzj/hexo_backup.git (fetch)
github [email protected]:Captainzj/hexo_backup.git (push)
➜ _posts git:(master) ✗ sudo hexo b
INFO Start backup: git
[master f05cad9] Site updated: 2018-11-19 22:20:37
1 file changed, 2 insertions(+), 3 deletions(-)
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
INFO Backup done: git
我试了已解决的几种方法,但依旧不能备份成功
[email protected]: Permission denied (publickey). 这个地方是git的权限问题,不是出在插件上。 你其他的github项目,可以push吗?
[email protected]: Permission denied (publickey). 这个地方是git的权限问题,不是出在插件上。 你其他的github项目,可以push吗?
其他的项目都是正常push的
这个得再手动git push 一下,不知道什么原因
我去看看为什么会出现这种情况。。更新后同步给大家
我也遇到这个问题了,git确定没问题,git push都可以推送,但是hexo b就不行,如图