Quantcast
Channel: 懒得折腾
Viewing all articles
Browse latest Browse all 764

Git push requires username and password

$
0
0

A common mistake is cloning using the default (HTTPS) instead of SSH. You can correct this by going to your repository, clicking the ssh button left to the URL field and updating the URL of your origin remote like this:

 git remote set-url origin git@github.com:username/repo.git


Viewing all articles
Browse latest Browse all 764

Trending Articles