SSH Key - Still asking for password and passphrase

后端 未结 30 1443
孤街浪徒
孤街浪徒 2020-11-27 08:35

I\'ve been somewhat \'putting up\' with Github always asking for my username and password when I clone a repository. I want to bypass this step because it is an annoyance w

30条回答
  •  感动是毒
    2020-11-27 09:26

    If you used for your GIT the password authentication before, but now are using SSH authentication, you need to switch remote URLs from HTTPS to SSH:

    git remote set-url origin git@github.com:USERNAME/REPOSITORY.git
    

提交回复
热议问题