Configuring Git - OtagoPolytechnic/opp-cico GitHub Wiki
Using Git is an essential part of developing and every developer should have this skill nailed down. If you don’t have a GitHub account, make sure you register here.
Replace my name and email address in the following steps with the ones you used for your GitHub account.
git config --global color.ui true git config --global user.name "YOUR NAME" git config --global user.email "[email protected]" ssh-keygen -t rsa -b 4096 -C "[email protected]"
Next we want to take the newly generated SSH key and add it to your GitHub account. This will allow you to use SSH to pull and push your repository. You want to copy and paste the output of the following command and paste it here.
cat ~/.ssh/id_rsa.pub
Run this command to see if it worked.
ssh -T [email protected]
You should get this message.
Hi AstinT! You've successfully authenticated, but GitHub does not provide shell access.