删除.deploy_git目录,再执行 hexo d -g就可以了 如果报错 没有master 如下: root@756242cbe446:/he/blog_source# hexo d INFO Deploying: git INFO Clearing .deploy_git folder... INFO Copying files from public folder... INFO Copying files from extend dirs... On branch master nothing to commit,...