alexa.wa
alexa.wa

Reputation: 21

Github only cloning improvements

I am one of the remote repository collaborators and i want to only clone the improvements of another collaborator after he made a new commit. How do I do that? How to clone only latest improvements instead of a whole massive repository? Is there a specific command I have to issue? I guess that if i do git clone *link to the repository it will just clone the whole repository that isn’t required

Upvotes: 0

Views: 25

Answers (1)

JBallin
JBallin

Reputation: 9807

Assuming you have the repository cloned on your computer already and the changes are being made directly to the master branch, you would simply run git pull inside the repository's directory.

This will "fetch" (download) the changes to the remote repository and then "merge" them into your local branch.

Upvotes: 1

Related Questions