Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 400 Bytes

git-ssh-setup.md

File metadata and controls

26 lines (18 loc) · 400 Bytes

Git ssh setup

Edit .gitconfig

git config --global core.editor code
git config --global --edit

Key

Get user email git config --global user.email

Generate key ssh-keygen -t rsa -C "[email protected]"

When asked don't input a file name

See public key cat ~/.ssh/id_rsa.pub

Add public key to

https://github.com/settings/keys

Test if works

ssh -T [email protected]