Not logged in. Login

Introduction to GitLab

We will use the CSIL GitLab (csil-git1.cs.surrey.sfu.ca) server for all course work.

Initial Server Set-Up

  1. Each team member should sign in to the GitLab server using their SFU credentials.
  2. Each team chooses one member as a Repo Master to organize the repository for the group. The Repo Master role should rotate between members in the course.
  3. The Repo Master should create the project for the team, with the name CMPT276-1231-D2-xxx where xxx is replaced by the team's Coursys ID. The visibility of the project should be Private.
  1. The Repo Master should create a README file for the project.
  2. The Repo Master should add all team members to the project as Developers. (Prior to this, team members need to sign in at least once to be visible.)
  3. The Repo Master should also add the instructor and TA to the project as Developers.

Client Set-Up

Team member must each perform a few set up actions on computers that they use to access GitLab.

1. Set up your git configuration with name and SFU ID.

git config --global user.name "**Your Name**"
git config --global user.email "**userid**@sfu.ca"

2. Set up an SSH key for passwordless acccess, following the GitLab instructions.

Git Clone: Downloading a Project

The git clone command downloads the project repository to your local computer. For example,

git clone https://cs-git-research.cs.surrey.sfu.ca/cameron/parabix-devel.git

The project URL can be copied from the project page.

A successful clone should create a directory with the README.md file created by the Repo Master.

Updated Fri Jan. 13 2023, 10:50 by cameron.