Recover overwritten file using eclipse git

I overwrote one of my local changes in Eclipse to one of the files by mistake! How can I revert my local changes? I use Git in Eclipse and in the Team Synchronize window I clicked the Overwrite button on one of the files that I did not want!

+4
source share
1 answer

You can use local history from eclipse

http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2FgettingStarted%2Fqs-55.htm

Right-click the file in navigation mode (for example, Project Explorer) and select> Show Local History.

+6
source

All Articles