I have forked a project on GitHub and I want to download only the changed files from the original repo. Is it possible to do this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes and no. You have to get the whole repo, but when you merge it locally, it only brings in the changed files. There is a walkthrough here.
The important line is this:
And then the actual fetching/merging can be done like this (two steps):
or in one step:
(Examples take from the GitHub link provided above)