Git: Permission denied (publickey) fatal - Could not read from remote repository. while cloning Git repository

后端 未结 30 1984
青春惊慌失措
青春惊慌失措 2020-12-12 10:10

I am unable to clone a Git repository, and getting this error:

krishna.soni@KRISHNACHANDRAS /c/Projects $ git clone http://stage.abc.com:10088/pqr
http://<         


        
30条回答
  •  失恋的感觉
    2020-12-12 10:35

    For people that come here that are just trying to get the repository but don't care about the protocol (ssh / https), you might just want to use https instead of ssh (if it's supported).

    So for example you use

    git clone https://github.com/%REPOSITORYFOLDER%/%REPOSITORYNAME%.git
    

    instead of

    git clone git@github.com:%REPOSITORYFOLDER%/%REPOSITORYNAME%.git
    

提交回复
热议问题