cluster:usage_tips:git

This is an old revision of the document!


Using GitHub for Collaborative Coding on the Cluster

How-to-Guide for connecting your GitHub account to the cluster, creating a new repository, cloning it to the cluster and collaborating on the cluster.

Set up a new Github repository on through the Github website (https://github.com)

Connect your Github account to the cluster (more detailed info see: https://docs.gitlab.com/ee/user/ssh.html#add-an-ssh-key-to-your-gitlab-account)

(please skip if you have used GitHub on the cluster before)

- Create an SSH key on the cluster

ssh-keygen -t ed25519 -C "<youremail@university.com>”

- Navigate to the folder where it was placed (usually in “/home/user/.ssh/id_ed25519_sk”) and copy the key (e.g. “SHA256:yHBHi3+bHUB92uByiByi5f+8+UdCMDaJUX0C23y2U”)

- Place the public key on your GitHub account in the browser under your user > settings > SSH and GPC keys

  • cluster/usage_tips/git.1662733387.txt.gz
  • Last modified: 2022/09/09 14:23
  • by lukab