Making Changes in Git

Length: 00:10:11

Lesson Summary:

A crucial part of using git in any CI/CD Pipeline is making code changes. In order to manage changes to source code in git, you need to know how to clone a remote repository, stage changes to source code files, commit them, and push them back to the remote repo.


This lesson will introduce you to a few basic commands that you can use to do this, and it will provide you with a demonstration of their usage. After completing this lesson, you should be able to make changes to source code controlled in git, commit them, and push them to GitHub.


If you want to follow along, you can make a personal fork of the source code repo at https://github.com/linuxacademy/cicd-pipeline-train-schedule-git. Just go to that repo in GitHub and click "fork." Then, when you clone the repo, clone your personal fork with following command (replace with your actual github username):

git clone git@github.com:/cicd-pipeline-train-schedule-git.git


This lesson is only available to Linux Academy members.

Sign Up To View This Lesson
Or Log In

Looking For Team Training?

Learn More