bitbucket can't pull/push from repository

前端 未结 20 1807
鱼传尺愫
鱼传尺愫 2021-02-06 23:04

So basically I have a server where I have bitbucket git repository set up. I\'ve been using it for months and now out of the blue sky when I try to pull I get the following erro

20条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-06 23:43

    In my case it happened because connection was behind proxi.

    From command line sites were inaccessible(no ping). However via browsers bitbucket.org was available.

    The solution was:

    git config --global http.proxy http://proxi_ip_or_host:80
    

提交回复
热议问题