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? What are steps to do that in egit?

As you can see I have deleted the member class. 🙂

  • Eclipse Git self signed certificate error
  • Understanding git/eGit push/pull behaviour in Eclipse
  • What is the meaning of pull strategy when creating a branch with egit?
  • Different change lists in subclipse?
  • Which version of eclipse works with egit?
  • SVN checkout forbidden with all the tools
  • enter image description here

  • Git subprojects?
  • How can the Git command be executed on Windows through Gradle?
  • Bitbucket Commit Push History
  • What are git's thin packs?
  • How does Git monitor files? How would it know if something “unexpected” happens?
  • Git revert not bringing back the earlier state
  • One Solution collect form web for “Pull a single file from the origin (Git)”

    Right click on the project. Go to Replace With -> HEAD Revision this will overwrite local changes

    Git Baby is a git and github fan, let's start git clone.