GIT SSH
Created at 2016-01-16 Updated at 2024-11-07 - 1 min. read Category experience / work
Earlier i was using git http on command line. Which always popped me with username and password. That always annoyed me. At the end i decided to finish this. Hence i opted for ssh protocol over command line. Steps for generating ssh keys and registering your device can find here.
SSH keys are a way to identify trusted computers, without involving passwords. When you want to clone any repository via ssh on github. You can simply choose in drop down menu where http is selected.If you want to change the remote URL of the clone site on your local machine. Then the you can simply do by typing the following command
git remote set-url origin [email protected]:_USERNAME_/_OTHERREPOSITORY_.git