1.问题
当hexo g -d
就报以下错误,解决方式如下
Disconnected from 18.140.96.234 port 443
fatal: Could not read from remote repository.Please make sure you have the correct access rights
and the repository exists.
2.解决方法
git init
git add .
git commit -m “修改”
git remote add origin url
git push origin master
输入以上命令出现以下图片的,则问题解决完毕;如出现以下错误图片的,则继续操作命令。
git push -f origin master
如出现错误图片,再执行一次,直至出现正确图片为止
git push origin master