Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » How to revert changes?
How to revert changes? [message #576373] Tue, 08 December 2009 02:13 Go to next message
Michael Heuberger is currently offline Michael Heuberger
Messages: 30
Registered: December 2009
Member
Good day

Sorry for this noob question but I have no idea how to revert changes with the EGit plugin.

For example I added a line in index.php for debugging purposes and want to revert it.

Thank you for your advice.

Michael H.
Re: How to revert changes? [message #576383 is a reply to message #576373] Tue, 08 December 2009 08:09 Go to previous messageGo to next message
Christian Halstrick is currently offline Christian Halstrick
Messages: 106
Registered: July 2009
Senior Member
Hi,

whenever I want to revert some (or all) changes I did to a file I
- rightclick on it
- select "Compare With->Git Index"
- now I can select which changes in the file to revert. To revert completely select the icon "Copy all non-conflicting changes from Right to Left"

--
Ciao
Chris


Ciao
Chris
Re: How to revert changes? [message #576406 is a reply to message #576383] Tue, 08 December 2009 23:26 Go to previous message
Michael Heuberger is currently offline Michael Heuberger
Messages: 30
Registered: December 2009
Member
Thank you. But that's just coping the content and Git is incrementing the version anyway. This could confuse other team members.

I prefer something like a rollback.
Previous Topic:Author / Commiter Preference Settings / Last inputed values
Next Topic:Git Pull?
Goto Forum:
  


Current Time: Tue Oct 21 15:30:53 GMT 2014

Powered by FUDForum. Page generated in 0.02666 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software