简体   繁体   中英

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?

如果执行git fetch (而不是pull ),您将可以访问上游,并可以决定合并这些更改的内容/方式。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM