Skip to content

Instantly share code, notes, and snippets.

View himvish997's full-sized avatar
🏠
Working from home

Himanshu Vishwakarma himvish997

🏠
Working from home
  • Allahabad, India
View GitHub Profile
@himvish997
himvish997 / setup.md
Created March 20, 2018 19:04 — forked from developius/README.md
Set up GitHub push with SSH keys

Create a repo. Make sure there is at least one file in it (even just the README) Generate ssh key:

ssh-keygen -t rsa -C "your_email@example.com"

Copy the contents of the file ~/.ssh/id_rsa.pub to your SSH keys in your GitHub account settings. Test SSH key:

ssh -T git@github.com