Introduction to version control with git (a.k.a., Git 101)¶
Registered participants will receive an email with the online meeting details prior to the date of the workshop.
Get control of your source code by using a version control system. In this course, we'll learn how to use Git to manage changes to your source code so that you can track updates and rollback to a previous version in case something breaks. We'll start by learning to use git to create a local personal repository, adding new files, and committing updates. We'll then learn how to host your repository on the GT github server so that others can collaborate and so that you can synchronize the software across different, remote machines.
Git techniques to be covered in this workshop include:
- init: create a new repository.
- commit: to add new code and to save updates to the repository.
- branch: to keep different work-in-progress (WIP) updates seperate.
- merge: to bring different code branches back together again.
- checkout: to view/edit different code branches or commits.
- push and pull: to share your updates on the remote githut repository.
The class will contain hands-on parts which will be completed on PACE resources. Note, that while we will use PACE resources for the hands-on portion, these methods will work on non-PACE systems with git installed. Git is an excellent way to manage your source code across different machine (e.g., your lab and PACE systems).
Prerequisites: Familiarity with Linux.
Fall 2021 Offerings¶
- Tuesday, August 31 from 2:00 - 3:45.