github 访问不了 无法提交代码

2023-01-20 10:59:12 +08:00
 tianshiyeben

两天了 一直这样 有什么办法 求指点

1364 次点击
所在节点    程序员
10 条回复
waterlaw
2023-01-20 12:03:04 +08:00
挂梯子,没办法了
Leon406
2023-01-20 13:34:02 +08:00
改 hosts 的话要经常更新,也不稳定
梯子靠谱点
kaleido
2023-01-20 16:22:37 +08:00
你是怎么上来 V 站的???
MajestySolor
2023-01-20 16:23:35 +08:00
出国流量走代理一了百了,否则你要浪费大量的时间和精力在网络问题上
lisongeee
2023-01-20 18:31:48 +08:00
<https://doc.fastgit.org/zh-cn/guide.html#web-%E7%9A%84%E4%BD%BF%E7%94%A8>

```sh
git config --global url."https://hub.fastgit.xyz/".insteadOf "https://github.com/"
git config protocol.https.allow always
```
ncepuzs
2023-01-20 18:56:20 +08:00
jqtmviyu
2023-01-20 19:42:43 +08:00
@lisongeee 他是提交不了,你这换成加速源,能 push 上去?
lisongeee
2023-01-20 19:55:46 +08:00
> 他是提交不了,你这换成加速源,能 push 上去?

@jqtmviyu

![image]( https://user-images.githubusercontent.com/38517192/213689201-10c69562-2c8b-4ead-bd5d-2f14f710e9e7.png)
HeyEvan
2023-01-21 17:03:46 +08:00
LJHG
88 天前
@HeyEvan 感谢,确实可以。把 https 换成 ssh 的方式就可以了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/910013

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX