Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.48 KB

常见问题.md

File metadata and controls

25 lines (19 loc) · 1.48 KB

常见问题

  1. Q: 出现 fatal: unable to access 'https://github.com/whbai/cdn/': Recv failure: Connection was reset A: 代理问题,检查网络,看看clash是不是在tun mode,如果可以裸连github,可以选择关掉代理。 注意,此时自定脚本已经刷新了npm版本号,并且打了tag,所以此时需要,先用 git log 看看版本号 git reset --hard (版本号) 回滚版本号 git tag 命令查看现有标签 git tag -d v1.x.x 删除现有标签 最后再重新开始工作上传

  2. error: RPC failed; HTTP 408 curl 22 The requested URL returned error: 408 send-pack: unexpected disconnect while reading sideband packet fatal: the remote end hung up unexpectedly Everything up-to-date

这个应该是网络出了问题 其中的 error: RPC failed 和 fatal: the remote end hung up unexpectedly 错误表明在与远程仓库通信时发生了问题。HTTP 408 错误表示请求超时,可能是由于网络连接不稳定或其他问题导致的。

而最后一行 Everything up-to-date 提示您当前的提交可能并未成功传送到远程仓库,因为远程仓库中没有看到新的更改。这意味着尽管您尝试将更改推送到远程仓库,但由于通信问题,这些更改尚未成功到达。

解决方法就是网络好的时候 git push

  1. fatal: unable to access 'https://github.com/whbai/cdn/': Failed to connect to github.com port 443 after 21307 ms: Couldn't connect to server 老规矩,还是 git push 再一次