How to clone the Repo from GitLab (Mac)
In the tutorial we will walk through the steps to clone the
class repository from GitLab
Step 1: Setting up your SSH key
- First check to see if you have SSH keys
- In Terminal type: ls -al ~/.ssh
- If you see a file called id_rsa.pub you're good!
- Next copy your SSH key
- In Terminal type: pbcopy < ~/.ssh/id_rsa.pub
- This copys your SSH key
- Then log into your class Repo
- Add your SSH key to GitLab
- Paste your key into the SSH feild, give it a name then click Add Key
Step 2: Clone the Repo
- Go to your Class Repo and hit the blue Clone button
- Select SSH
- Go to your Terminal and type: git clone
- Paste in the SSH link you just copied and press the return button