简体   繁体   English

如何从github将特定文件提取到服务器

[英]How to pull a particular file to the server from github

I have a repo in github I have pushed lot of files to my github, but I want to pull only couple of files to the server. 我在github上有一个repo我把很多文件都推到了我的github上,但是我想把几个文件拉到服务器上。 How do I do it. 我该怎么做。 I just googled but could not figure out anything. 我只是用谷歌搜索,但无法搞清楚任何事情。

I do not think this is possible with git to pull only one/few of the files from a commit. 我不认为git只能从提交中提取一个/几个文件。 But I think downloading few file is possible with github as mentioned in this accepted answer 但我认为可以使用github下载少量文件,如本接受的答案所述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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