qfazille
1/9/2019 - 1:47 PM

add SSH key to github on Windows pc

add SSH key to github on Windows pc

1. Install git (https://git-scm.com/downloads)
2. Open Git Bash windows
3. Set config as below (NB : if you don't set your mail linked to the Github account, you won't see your contributions)

git config --global user.name "Quentin Fazilleau"
git config --global user.email "********@*****.com"

4. Generating keypair SSH as below :

ssh-keygen -t rsa -b 4096 -C "********@*****.com"

5. Add SSH key to GitHub account following https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/
6. Open GitHub repository
7. do your stuff