Skip to content

biosustain/git-tutorial

 
 

Repository files navigation

Git Tutorial

Sign-Up to the workshop here (being logged in with your DTU Microsoft account): Sign-Up Form

Announcement

This workshop will give you the opportunity to practice git as a version control system and Github as a website to host your repositories. Using git you can track changes in folders. It allows you track your progress and to spot random typos when working on many projects and tasks in parallel. In the workshop you will get the time to practice the fundamental concepts and actions directly in your browser - either using VSCode in GitHub Codespaces or in using the GitHub web interface. If you want, you can also try everything on your local computer.

I will give a brief introduction to git. Then you will specific workflows by collaboratively work on extending a recipe book (please bring a recipe you like). You will learn how to work on branches, review Pull Requests and merge them into the main branch. If you have specific requests, feel free to reach out to me.

If you have specific requests, feel free to reach out to me and/or write it down in the sign-up form.

What you'll learn:

  • Basic tasks and actions to perform with git (in VSCode or in the browser)
  • How to branch and tag
  • Follow trunk-based development
  • See how to merge and comment a Pull Request based on a branch
  • Solve merge conflicts
  • Familiarize yourself with VSCode’s and GitHub’s interface and user experience
  • Get to know new recipes

Minimal prerequisite: A GitHub account. If you want to follow along locally, please install GitHub Desktop and VSCode on your machine.

Brief timeline of the workshop:

Time Activity
10:00 - 10:15 Coffee and snacks 🥐
10:15 - 10:45 Introduction and example workflow
10:45 - 12:00 Working collaboratively on the recipe book
12:00 - 12:30 lunch break (not included)
12:30 - 13:30 Your question and advanced content

Slides

<iframe src="https://docs.google.com/presentation/d/1RsKMiKquE4wqncrAv9LEtjivGE_dGiHoJ8nKCxgVKeY/embed" frameborder="0" width="100%" height="480" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"> </iframe>

Local Setup

See local_setup for instructions to setup git on your local computer.

Links to learn more

About

Git and GitHub training materials

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%