hexo d提交不成功
- 配置Git环境变量,配置完一定要退出当前shell环境,重新打开。
- 删除.deploy_git文件夹,重新运行hexo g, hexo d。
- 在git bash中执行hexo d命令,才能上传成功,这里原因不明,以下是在cmd中执行的结果。
INFO Deploying: git
INFO Clearing .deploy_git folder…
INFO Copying files from public folder…
INFO Copying files from extend dirs…
执行hexo d命令时总是要输出github的用户名和密码
- win7可以这么解决,https://blog.csdn.net/forevercjl/article/details/39557713
- 修改最外层的_config.yml仓库repo, 去github复制链接,https改为ssh形式的,由于电脑上有私钥,故不再需要输入账号密码。