Why is this git clone command failing?

后端 未结 9 2097
挽巷
挽巷 2021-02-03 23:40

Trying to use the git clone command. My understanding (please correct if wrong) was that in order to host a Git repository you just need a machine running ssh and t

9条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-03 23:58

    I have had same problem and without removing expired certificate all of the sadden it started working. The only thing I did differently this time was to switch WiFi from been connected to the proxy network to my private mobile hot spot. Then I run below command in the Terminal

    $ git clone https://my-login@bitbucket.org/project-folder/project-name.git
    

    Then it started cloning and requested password..

    Cloning into 'project-name'...
    Password for 'https://my-login@bitbucket.org':
    

    Repository has been downloaded..

    remote: Counting objects: 2449, done.
    remote: Compressing objects: 100% (1244/1244), done.
    remote: Total 2449 (delta 1388), reused 1999 (delta 1070)
    Receiving objects: 100% (2449/2449), 768.56 KiB | 101.00 KiB/s, done.
    Resolving deltas: 100% (1388/1388), done.
    

提交回复
热议问题