简体   繁体   English

从原点(Git)提取单个文件

[英]Pull a single file from the origin (Git)

Im using eclipse plugin EGit in my project.And I have deleted the a file in my eclipse workspace .Through eclipse how can I pull that specific single file again to my workspace? 我在项目中使用了eclipse插件EGit ,并删除了 eclipse 工作区中 的一个文件 。通过eclipse如何将特定的单个文件再次拉到我的工作区中? What are steps to do that in egit ? egit中要执行哪些步骤?

As you can see I have deleted the member class. 如您所见,我已经删除了成员类。 :) :)

在此处输入图片说明

Right click on the project. 右键单击该项目。 Go to Replace With -> HEAD Revision this will overwrite local changes 转到Replace With -> HEAD Revision这将覆盖本地更改

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

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