Introduction to GitLab
We will use the CSIL GitLab (csil-git1.cs.surrey.sfu.ca) server for all course work.
Initial Server Set-Up
- Each team member should sign in to the GitLab server using their SFU credentials.
- The Repo Master should create the project for the team, with the name CMPT276-1191E1-xxx where xxx is replaced by the team's Coursys ID. The visibility of the project should be Private.
- The Repo Master should create a README file for the project.
- 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.)
- 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 git@csil-git1.cs.surrey.sfu.ca:cameron/CMPT276-1191E1-Demo.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 Mon Sept. 26 2022, 14:22 by cameron.