Skip to content

Instantly share code, notes, and snippets.

@victorlin
Created December 18, 2016 18:46
Show Gist options
  • Save victorlin/2990d9c4da17119b4cbf9f50f7de4ebb to your computer and use it in GitHub Desktop.
Save victorlin/2990d9c4da17119b4cbf9f50f7de4ebb to your computer and use it in GitHub Desktop.
Using GitHub with HPC
  1. Set your name and email (make sure the email is tied to your GitHub account).

    git config --global user.name <YOUR_NAME>

    git config --global user.email <YOUR_EMAIL>

  • To check global variables, use git config -l
  1. Adding your HPC user SSH key to the ssh-agent

    eval `ssh-agent -s`

    ssh-add ~/.ssh/id_rsa

  2. Add the SSH key to your GitHub account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment