V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
git
Pro Git
Atlassian Git Tutorial
Pro Git 简体中文翻译
GitX
liuguangxuan
V2EX  ›  git

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

  •  
  •   liuguangxuan · 52 天前 · 1063 次点击
    这是一个创建于 52 天前的主题,其中的信息可能已经有所发展或是发生改变。

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