34. Changing the original repository

Goals

  • To make changes to the original repository, so we can try to pull the changes.

01 Make a change in the original work repository

Run

cd ../work

We are now in the work repository.

Make the following changes to the README file:

File: README

This is the Hello World example from the Git tutorial.
(changed in origin)

Now add and commit this change

Run

git add README
git commit -m "Changed README in original repo"

02 Next

Now the original repo has more recent changes that are not included in the cloned version. Next we will pull those changes across to the cloned repo.