git
Tips
Clone using ssh-key
git clone ssh://git@github.com/<user>/<repository name>.gitPush to github without password using ssh-key
If it is asking you for a username and password, your origin remote is pointing at the https url rather than the ssh url.
For example, a github project like Git will have https url
https://github.com/<Username>/<Project>.gitand the ssh one:
git@github.com:<Username>/<Project>.gitYou can do:
git remote set-url origin git@github.com:<Username>/<Project>.gitto change the url.
Last updated
Was this helpful?