useful git commands

setting up ssh authentication

Guide to set up ssh authentication

pushing to github without ssh key

For every push we don’t want to authenticate using username and password. This is annoying. This is where ssh comes handy. Once ssh authentication is setup, run the following command:

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

Next time, when you push, git will not ask for username and password