Keef Baker
Keef Baker

Reputation: 641

Git pull certain files only

It looks like someone has messed up the upstream box without branching (well done them) but I now need to do a software release of just one folder from that upstream. Any ideas how I do a pull of just that one folder from the upstream to the downstream git server for release without taking all the garbage stuff with it?

Upvotes: 1

Views: 669

Answers (1)

Thom Parkin
Thom Parkin

Reputation: 346

If you perform a git fetch (rather than a pull) you will have access to the upstream and can decide what/how to merge those changes.

Upvotes: 3

Related Questions