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

后端 未结 30 1998
青春惊慌失措
青春惊慌失措 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:50

    if none of these answers help and

    1. you are using Windows
    2. you generate your key with Putty or you have installed Putty on your PC
    3. you generate your key with CMD or PowerShell

    Try

    1. delete your keys
    2. search on windows for Git Bash, then generate a new key with Git Bash command line
    3. add public key to your online Repo

    Then, you will find after git clone and type yes to confirm, it should begin to clone

提交回复
热议问题