在使用hexo部署博客到gitcafe的时候,出现了如下错误:
On branch master
nothing to commit, working directory clean
error: src refspec gitcafe-pages does not match any.
error: failed to push some refs to 'git@gitcafe.com:myname/myname.git'
hexo配置文件如下:
deploy:
type: github
repository: git@gitcafe.com:myname/myname.git
branch: gitcafe-pages
gitcafe的仓库现在是一个空仓库,没有任何的文件,请问,有没有遇到这个问题的。。
删除.deploy文件夹,重新生成即可解决该问题