Table of Contents
- Instructions
- Troubleshooting
Instructions
GitHub Account
A private GitHub repository have been setup for your course work. You need a GitHub account in order to access the private GitHub repository. Create a GitHub account by going to https://github.com/join. Once you have a GitHub account, complete the form at https://forms.gle/N5qSMNPrdsk6hZdG9 so we can add your GitHub account to your private GitHub repository. You should receive an invitation from GitHub asking you to join the private repository after we have reviewed the form submissions.
Install Git
Install Git on your computer using the following directions:
Generate and Add SSH key to GitHub
Ubuntu and Windows+WSL:
macOS:
Clone your MAS-DSE Private GitHub Repository
Complete the Generate and Add SSH key to GitHub instructions before attempting to clone your MAS-DSE Private GitHub Repository.
1. Go to github.com/mas-dse and confirm you see and have access to a personal private repository. The repository name should follow “year-username”.
2. Open your repository, find the “Code” button and copy the clone “https” url.
3. In your local terminal, type the command in red to clone your empty private GitHub repository. You will need to substitute git@github.com:mas-dse/REPOSITORY_NAME.git with the copied URL for your private repository from step 2.
Cloning into 'REPOSITORY_NAME'...
warning: You appear to have cloned an empty repository.
Checking connectivity... done.
4. Type the command in red to enter the local clone of your private GitHub repository. Replace REPOSITORY_NAME with the name of your repository, which should be your @ucsd.edu E-mail username.
Troubleshooting
Permission denied (publickey)
If you receive a Permission denied (publickey) error see the following: https://docs.github.com/en/authentication/troubleshooting-ssh/error-permission-denied-publickey