git clone hangs forever on github

前端 未结 8 1397
一生所求
一生所求 2020-12-03 04:26

When I follow point 5 (Test everything out) in the github guide, the ssh command also hangs forever. According to the guide, I should be presented with a message that \"Gith

8条回答
  •  暖寄归人
    2020-12-03 04:57

    Try using HTTPS instead of SSH. Port 22 might be blocked by a firewall.

    E.g. instead of:

    git clone git@bitbucket.org:repo-owner/my-project.git
    

    Connect via HTTPS:

    git clone https://username@bitbucket.org/repo-owner/my-project.git
    

提交回复
热议问题