Fachbereich
Kurse der PSI-Akademie
K 926 E 

Titel
Working with git and GitLab
Beschreibung

Short description

Git is a version control system and its adoption at PSI is growing – also in areas outside of software development. Using a version control system allows you to track changes in files as you work on them, making progress on your projects, be it writing documentation, working on configuration files, or developing software. During this hands-on workshop we will look at a bit of background information and theory, but the focus is on working through the exercises, to learn the most important commands and get a good understanding of what they do.


Content
Morning:
- Basic version control concepts and terminology
- Where does git end and GitLab begin

- Basic and advanced version control operations
- Setting up access to GitLab with SSH keys
- Importing an existing project to GitLab or starting new ones from scratch

- Collaboration through GitLab
- How to fix “mistakes” in common scenarios
- Optional at the end: Setting up your PSI Windows PC for working with git and GitLab

Afternoon (optional):
- Recap of the morning session (theory and exercises)
- Discuss questions
- Additional exercises
- Applying your new tool set to your project

What we won’t cover:

- Detailed history and comparison of various version control systems
- Detailed discussion of internal workings of git

- Migrating from a different version control system to git
- All the variations and purposes of git rebase
- Signing commits or verifying commit signatures

- Advanced features of GitLab (integration with webhooks, CI/CD with pipelines, pages system, etc.)


Goals

The participants

- understand the concepts of version control and terminology used with
git and GitLab
- use git and GitLab for versioning their own projects and collaborating with colleagues
- use branching and merging to isolate changes and prevent roadblocks in project progress

- have configured git and SSH for using it with GitLab
- have created projects in GitLab
- have improted existing work to GitLab
- have collaborated using forks and merge requests in GitLab

Target audience

Anyone who wants to (or has to) use git for version control, anyone interested in using version control in the future
Level: Beginner to intermediate


Methods
- Individual exercises
- short theory sequences as a lecture

Basic / Advanced courses
To display basic or advanced courses, please use the filters in the course list

Execution in
English

Requirements for participants
- Use your own laptop / PC
- You need to have a PSI Windows account and Email address (for use with GitLab)

Either...
- you need to also have a PSI Linux account (with AFS)
- and are able to loging via SSH (on Windows: PuTTY) to PSI's Linux Login Cluster (llc.psi.ch)

Or...
- you have a PSI Windows 10 system, with PuTTY and git installed (available from software kiosk)

You need to be able to do basic work on the Linux command line, i.e. you have used these commands before: cd, mkdir, cp, rm, mv, ls.

If you have doubts/questions, don't hesitate to get in touch.


Proof of performance
- None

Completion
- Certificate of completion

Venue
PSI Education Center (OSGA)

Number of days / duration in lessons (à 45 minutes)
4 lessons: 09.00 - 12.00 + 4 lessons (optional): exercises/deepening: 13.30 - 16.30

Course leader / moderation

Daniel J. Lauk, Software Engineer (AEK)


Number of participants
Minimum 6 / Maximum 20

Catering
This course does not include meals. However, the staff restaurant OASE also provides external visitors with inexpensive and tasty menus.

Further information

Product category:

For questions
Administration PSI Education Center, Tel. 056 310 24 00, bildungszentrum@psi.ch

Cancellation
see general terms and conditions




Vorkenntnisse / Vorbedingungen

- Access to PSI network (on site or through VPN)
- PSI Windows account with PSI email
- You need to be able to do basic work on the Linux command line, i.e. you have used these commands before: cd, mkdir, cp, rm, mv, ls
- OPTIONAL: Access to a second screen/monitor