• 请不要在回答技术问题时复制粘贴 AI 生成的内容
tianshiyeben
V2EX  ›  程序员

github 访问不了 无法提交代码

  •  
  •   tianshiyeben ·
    tianshiyeben · Jan 20, 2023 · 2314 views
    This topic created in 1217 days ago, the information mentioned may be changed or developed.

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

    waterlaw
        1
    waterlaw  
       Jan 20, 2023 via Android
    挂梯子,没办法了
    Leon406
        2
    Leon406  
       Jan 20, 2023
    改 hosts 的话要经常更新,也不稳定
    梯子靠谱点
    kaleido
        3
    kaleido  
       Jan 20, 2023   ❤️ 6
    你是怎么上来 V 站的???
    MajestySolor
        4
    MajestySolor  
       Jan 20, 2023
    出国流量走代理一了百了,否则你要浪费大量的时间和精力在网络问题上
    lisongeee
        5
    lisongeee  
       Jan 20, 2023
    <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
    ```
    jqtmviyu
        7
    jqtmviyu  
       Jan 20, 2023 via Android
    @lisongeee 他是提交不了,你这换成加速源,能 push 上去?
    lisongeee
        8
    lisongeee  
       Jan 20, 2023
    > 他是提交不了,你这换成加速源,能 push 上去?

    @jqtmviyu

    ![image]( https://user-images.githubusercontent.com/38517192/213689201-10c69562-2c8b-4ead-bd5d-2f14f710e9e7.png)
    LJHG
        10
    LJHG  
       Jan 31, 2024
    @HeyEvan 感谢,确实可以。把 https 换成 ssh 的方式就可以了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3042 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 00:20 · PVG 08:20 · LAX 17:20 · JFK 20:20
    ♥ Do have faith in what you're doing.