- Generate public and private keys
ssh-keygen -t rsa -C "hello@dylansleith.com"
- Open .ssh folder in terminal from user directory
C:\Users\Name\.ssh
- List all files
ls -al
There will be two files:
- id_rsa (Private Key)
- id_rsa.pub (Public Key)
-
Open "id_rsa.pub" in a text editor and copy everything in the file.
-
Open GitHub and add a SSH key and your done!
-
Go to
C:\Program Files\Git\etc\profile.d\
folder -
Find and open
git-prompt.sh
file in your text editor -
Comment out line
16
and17
-
Restart terminal and you're done!