在服务器上拉单个文件

con*_*act 3 git version-control putty github

我已经在GitHub上提交了几个文件,但我想在服务器上只提取单个文件.我怎么能用PuTTY做到这一点?

hel*_*elt 5

git fetch
git checkout -m revision  -- the/file/you/want
git add the/file/you/want
git commit
Run Code Online (Sandbox Code Playgroud)

签出您想要的文件并将其与当前文件合并