GitLab Setup Information

This course is going to use the UNH CS GitLab for starter code and code submissions.
This page should guide you through the process of setting up your own personal repository for tracking changes. I encourage you to use Git not just for submissions themselves, but for source control. This is a 700/800 level course, so "My dog ate my laptop" is no longer an excuse that will fly. You can make branches to save experimental code, you can do as many commits as you want. I don't need you to squash commits, and having incremental code history here is a valuable tool for proving originality if there is ever any doubt as to academic honesty/dishonesty.

Initial Repository Setup

This section will walk you through the process of setting up your repository for initial contributions. We assume some familiarity with linux command line use for brevity, but if you have any questions on process please don't hesitate to reach out to me via the UNH CS Discord platform or through email.

  1. First, visit this repository, make sure you have an SSH key in the CS GitLab under your user settings so that you can easily and securely access your own repository securely.
  2. Click the "Fork" button that appears in the top right of the page
  3. Make sure to set your repository to "private" access for now, as shown here:
  4. Once the project has been forked, go to "Project Information" -> "Members" in the sidebar on the left
  5. Invite "szb1001" with the role "Reporter", and click invite. This allows me to view the contents of your repository for grading
  6. Now, clone the repository to your local machine using the "clone" -> "clone with SSH" URL from the repository homepage
  7. Enter "git clone <the copied git ssh url>" into your linux terminal, hit enter. This should clone the repository to your machine

Submission Instructions

When it comes time to submit a phase, we're going to use git tags. Navigate to the commit that you want to represent the state of your repository that you want to be graded for a phase. Click "Options" -> "Tag". Name the tag, for example "Phase_1". Include any special grading instructions in the tag Message field, and then click "Create Tag". I will check out that tag for grading the phase when the time comes.