Lab Submission with Git


In COMP16321, you will submit all of your lab exercises with Git to GitLab. Knowledge of Git and related services is essential for submitting coursework during your time at university, and Git is used widely in many Computer Science careers. In fact, you will be graded on your usage of Git when developing your summative coursework project! This supplementary lab takes you through some of the basic principles of GitLab and how to manage your submissions.

image





Click here to go to the COMP16321 Blackboard page


Click anywhere to close this video

Contents



Introduction

Configuring Git on your Machine

Building your GitLab Profile

Cloning your COMP16321 Lab Repository

Creating Branches

Updating Our Local and Remote Repositories

Submitting and Tagging Lab Exercises

Merging Branches

Conclusion


Green = Current Page

Click anywhere to close this overlay

Topics Covered in this Lab



1. Git and GitLab basics (local and remote repositories, cloning repositories)

2. Git commands (add, commit, push, branch, merge, checkout...)

3. Git tagging (tag, push --tags)

4. Undoing Git commands (undo commits, delete tags)



Click anywhere to close this overlay

Lab Key



Notes – #FF6F61

Videos – #34568B

Code Examples – #009B77

Downloads - #C3447A

Internal Link (University Resources) – #955251

External Link (Non-University Resources)– #EFC050

Other - #660099



Click anywhere to close this overlay