event

PACE - Introduction to Git

Primary tabs

NOTE: Registered participants will receive an email with the online metting 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 separate.
  • 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 github 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.

Status

  • Workflow Status:Published
  • Created By:jvaldez8
  • Created:09/02/2022
  • Modified By:jvaldez8
  • Modified:09/02/2022

Categories