Question
how to automate login to github?
every time I run “git pull origin master” I am prompted for my github username and password. How to automate that?
I have run all the SSH steps in the terminal of my droplet:
ssh-keygen
ssh-add
goto github. new ssh key. copy and paste the ssh public key.
ssh -T git@github.com
got the message saying I had successfully authenticated.
I also ran:
git config –global user.email xxxx
git config –global user.name xxx
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
How were you able to copy the contents of the public key file??