conda install git

Set up SSH login to github

Generate SSH key (follow instructions here):

ssh-keygen -t ed25519 -C "your_email@example.com"

Press enter (remember this path to file)

Provide a password & confirm

Add SSH key to your ssh-agent


Get-Service -Name ssh-agent | Set-Service -StartupType Manual

Start-Service ssh-agent

ssh-add <FILE_FROM_ABOVE>


Add the key to GitHub account (follow instructions here):

Test

ssh -vT git@github.com

If errors, troubleshoot as shown here

Clone files to home directory

cd to home directory

git clone git@github.com:<REPO_GH_LOCATION>/<REPO_NAME>
  • No labels