could please anybody tell us if it is possible and if it is not, what is the best alternative to do it ? This is how it would be done in command line :
git checkout HEAD~1 -- path/to/file
But if the project is big, navigating to that file in cmd can be annoying ....
Go to the Git history. Right click on the commit you want to revert. Select revert commit.
In the Eclipse Navigator view (or any Eclipse view that supports Team operations), right-click the file or folder and click Team > Show History.
You can do this with EGit version 1.0 or higher (it might also be possible with earlier versions, but 1.0 is the first version I noticed the feature).
This is available in EGit 2.0:
Select the file(s)/folder(s) you want to replace with another version and use any of the commands:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With