Hands-on introduction to git for version-control of code
Co-organized by CR8/ESSI6/GD7
Convener:
Konstantin GregorECSECS
|
Co-conveners:
Phillip PapastefanouECSECS,
Benjamin F. MeyerECSECS,
Matthew Forrest
One key element of professional software engineering is proper version control of code, allowing one to: develop and manage code effectively, backup the code online and go back to previous stages, detect introduced bugs faster, and collaborate on a shared codebase.
The undisputed standard tool of version control is git and ideally, all code should be put under version control.
So if your code is not yet managed with git, this course is for you!
This short course requires no prior knowledge of git and will introduce the fundamentals of working with git from the command line:
- clone a git repository
- make changes and check for them
- create commits
- back up our code online on Github
- switch between branches
- merge branches
We will show you how to do these steps, and then help you follow along.
Finally, you will have the possibility to put one of your own coding projects into version control.
Looking forward to seeing you at the workshop!
Konstantin, Ben, Philipp
You can find the workshop material here: https://github.com/k-gregor/git-workshop
Further reading: https://doi.org/10.5194/egusphere-2025-1733
To prepare, please:
- install git on your machine: http://git-scm.com/about
Windows users install: git bash (https://gitforwindows.org) - Create an account on www.github.com
- configure your git locally, so people online can see who made the changes, using the terminal, or for windows users, using git bash:
git config --global user.name "Your name"
git config --global user.email "your@email.de"
Session assets
The oral presentations are given in a hybrid format supported by a Zoom meeting featuring on-site and virtual presentations. The button to access the Zoom meeting appears just before the time block starts.