[英]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服务器拉出一个文件夹,以便释放而不带掉所有垃圾内容?
如果执行git fetch
(而不是pull
),您将可以访问上游,并可以决定合并这些更改的内容/方式。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.