git
Pro Git
Atlassian Git Tutorial
Pro Git 简体中文翻译
GitX
liuguangxuan
V2EX  ›  git

有用 Bitbucket 的老哥吗?你们最近使用正常吗?

  •  
  •   liuguangxuan · Mar 6, 2024 · 2322 views
    This topic created in 825 days ago, the information mentioned may be changed or developed.

    公司的代码托管在 Bitbucket 上,大概从过了年之后,使用 git 同步 Bitbucket 上的代码就断断续续的,有时候好使,有时候不好使。

    $ git pull
    Connection reset by xx.xx.xx.xx port 22
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    
    

    有没有使用 Bitbucket 的老哥,你们使用正常吗?

    10 replies    2024-03-07 15:27:06 +08:00
    dif
        1
    dif  
       Mar 6, 2024   ❤️ 1
    如果你们公司在国内,为啥要选 bitbucket 。既然选了,那就备好梯子~~~
    我个人只用来备份得,目前没问题,你这个问题可能是最近开会得原因吧。
    sayitagain
        2
    sayitagain  
       Mar 6, 2024
    我的眼睛居然把 Bitbucket 自动解析成了 Bitwarden...
    tedzhou1221
        3
    tedzhou1221  
       Mar 6, 2024
    @sayitagain 我也是。。。。
    edwardhodges
        4
    edwardhodges  
       Mar 6, 2024
    bitbucket 、GitHub 都要梯子好才能正常访问的。公司代码不是一般都在国内的服务器上面吗?
    zyh94946
        5
    zyh94946  
       Mar 6, 2024
    这是什么正经代码还放到 Bitbucket 去
    ashrkq
        6
    ashrkq  
       Mar 6, 2024   ❤️ 1
    可能网络对 22 端口有什么限制吧,你换成 https 的试下。
    dcdlove
        7
    dcdlove  
       Mar 6, 2024
    @sayitagain 我也是哈哈
    liuguangxuan
        8
    liuguangxuan  
    OP
       Mar 7, 2024
    @dif #1 多谢老哥,可能真的是开会的原因,公司是联通的网络,切换到移动的网络就好了。
    不过有一事不明白,想请教老哥:我按你说的,使用梯子,已经在~/.ssh/config 文件中配置了 git 的代理,走梯子的流量,但是 git 使用仍然报上述错误,这种情况下防火墙是如何检测出来的?还是我设置的不正确。
    dif
        9
    dif  
       Mar 7, 2024
    @liuguangxuan 这就不清楚了,我用的 clash
    ```bash
    #使用 socks5 代理(推荐)
    git config --global http.https://github.com.proxy socks5://127.0.0.1:7890
    ```
    liuguangxuan
        10
    liuguangxuan  
    OP
       Mar 7, 2024
    @dif #9 好的,多谢。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1096 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 22:56 · PVG 06:56 · LAX 15:56 · JFK 18:56
    ♥ Do have faith in what you're doing.