Skip to content

GitHub Setup for Windows

Eric Waldman edited this page Mar 15, 2022 · 7 revisions

Create an SSH Key for your Machine

Run ssh-keygen -f C:\Users\<username>\.ssh\id_rsa

When prompted:

  • It should setup a public/private key pair
  • Private: c:\Users\<username>\.ssh\id_rsa
  • Public: c:\Users\<username>\.ssh\id_rsa.pub

Add Public Key to your GitHub Account

  • Top Right GitHub Menu > Settings > SSH and GPG Keys > New SSH key

Clone Repository to your Machine

  • In terminal, replace <username> and enter:
    • git clone git@github.com:chromium/content_analysis_sdk.git c:\src\content_analysis_sdk --config core.sshCommand="ssh -i c:\\Users\\<username>\\.ssh\\id_rsa"