hexo 上传到github命令报错
hexo 上传到github命令报错D:\Hexo\MyBolghexo d INFO Validating config INFO Deploying:gitINFO Clearing .deploy_git folder... INFO Copying files from public folder... INFO Copying files from extend dirs... On branch master nothing to commit, working tree clean 【无法访问Github仓库地址, 连接失败, 连接被重置】 fatal: unable to accesshttps://github.com/your_username/project.git/:Recv failure: Connection was reset FATAL Somethings wrong. Maybe you canfindthe solution here: https://hexo.io/docs/troubleshooting.html Error: Spawn failed at ChildProcess.anonymous(D:\Hexo\MyBolg\node_modules\hexo-deployer-git\node_modules\hexo-util\lib\spawn.js:51:21)at ChildProcess.emit(node:events:520:28)at ChildProcess.cp.emit(D:\Hexo\MyBolg\node_modules\cross-spawn\lib\enoent.js:34:29)at Process.ChildProcess._handle.onexit(node:internal/child_process:291:12)可能的解决方法在开启加速器的情况下, 经常会遇到这种情况, 可多次尝试上传;关闭加速器尝试上传.开启虚拟网卡模式, 该模式接管了电脑上所有软件的流量, 包括命令行的Git.完成上述操作后再次尝试上传D:\Hexo\MyBolghexo d INFO Validating config INFO Deploying:gitINFO Clearing .deploy_git folder... INFO Copying files from public folder... INFO Copying files from extend dirs... On branch master nothing to commit, working tree clean Enumerating objects:8, done. Counting objects:100%(8/8), done. Delta compression using up to16threads Compressing objects:100%(5/5), done. Writing objects:100%(5/5),1.71MiB|448.00KiB/s, done. Total5(delta3), reused0(delta0), pack-reused0remote: Resolving deltas:100%(3/3), completed with3localobjects. To https://github.com/your_username/project.git 0343aba..6a9d8ad HEAD -main branchmastersetup to trackhttps://github.com/your_username/project.git/main.INFO Deploy done:git这次上传成功.
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2586744.html
如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!