41. Changing the original repository

Goals

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

01Make a change in the original hello repository

Run:

cd ../hello
# (You should be in the original hello repository now)

NOTE: We are now in the repository hello

Make the following changes to the README file:

File: README

This is the Hello World example from the git tutorial.
(changed in original)

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.

SVN?
© 2011-2014 Git How To. All rights reserved / Contact us