Using Git in a small team
This training session will provide a basic introduction to using hosted Git services (eg GitLab/GitHub) as part of your team’s workflow.
We will introduce the concept of a remote repository, describe the Git commands required to work with one and highlight the benefits to collaboration provided by online platforms such as GitLab.
We will then describe a model workflow (“Feature Branch workflow”) for a small team using Git, including best practices, “branch etiquette”, opportunities to integrate code review and strategies for collaborating in a team where some members may be experienced Git users and others may be novices.
Finally there will be a live-coding session where participants will create a merge(/pull) request and resolve merge conflicts using a graphical user interface.
Topics to be covered:
Host platforms for remote Git repos (GitLab/GitHub)
Workflow of using Git in a small scale team (2-5 people)
Branching strategies and etiquette
Merging and resolving merge conflicts
Using merge requests to incorporate code review
Learning Objectives:
Clone a local copy of a remote repository
Use the fetch, pull and push commands
Create a merge(/pull) request
Resolve merge conflicts
Describe a model workflow for a small team using Git
Know how to tag a “release version”
Prior knowledge required:
Participants should be comfortable creating and working in a solo Git repo
Intended audience:
Individuals who are familiar with Git and want to start using it collaboratively with others within a small team.
Audience requirements:
If you wish to participate in the practical then a second screen may be helpful, but not necessary.
Pre-course work:
Please install Git and VS Code, make an account on a hosted Git service and fork a copy of our demonstration repository (instructions will be provided).
The demo will be conducted in GitLab but if you have a strong preference for GitHub you should be able to follow along.
If you have any difficulties with making your account or forking the demo repo, we will be available 10mins before the start of the session to help troubleshoot.
Type of session:
Presentation followed by live coding.
Software required:
Git, Visual Studio (VS) Code
Operating System:
We will be using Windows (so will be better able to help with that) but participants can use iOS and Linux
Date:
15 June 2021, 11:00
Venue:
Venue to be announced
Speakers:
Speaker to be announced
Organising department:
Big Data Institute (NDPH)
Organiser:
Sarah Laseke (Big Data Institute)
Organiser contact email address:
sarah.laseke@ndph.ox.ac.uk
Booking required?:
Required
Booking url:
https://oxford.onlinesurveys.ac.uk/using-git-in-a-small-team-15-june-2021
Audience:
Members of the University only
Editor:
Sarah Laseke