- Generate public and private keys
ssh-keygen -t rsa -C "[email protected]"- Open .ssh folder in terminal from user directory
C:\Users\Name\.ssh- List all files
ls -alThere 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.shfile in your text editor -
Comment out line
16and17 -
Restart terminal and you're done!