Skip to content

Instantly share code, notes, and snippets.

@guicattani
Created September 7, 2019 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guicattani/e7fcc63fdd5ef73b8188ed68175b6ee1 to your computer and use it in GitHub Desktop.
Save guicattani/e7fcc63fdd5ef73b8188ed68175b6ee1 to your computer and use it in GitHub Desktop.
Set up GIT and SSH key
git config --global user.name "NAME"
git config --global user.email "YOUR@MAIL.COM"
ssh-keygen -t rsa -C "YOUR@MAIL.COM"
git config --list #verify configs
cat /home/USER/.ssh/id_rsa.pub
#create new SSH key in git hub and copy the key, including email
ssh -T git@github.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment