Quantcast
Viewing all articles
Browse latest Browse all 766

Git push requires username and password

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

Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 766

Trending Articles