1

Using egit, I wanted to switch back to a previous version just for some minutes. So I committed my new code and checked out an earlier version.

Now that I have finished looking through the older stuff, I want to go "back" to the newest, local commit from before. However, History view seems to have forgotten that I made a commit just before, going back is not possible.

Also, Team->Replace with->Commit doesn't offer my latest commit. It seems like the commit was overwritten. Where did it go?

Zoe
  • 27,060
  • 21
  • 118
  • 148
phil294
  • 10,038
  • 8
  • 65
  • 98

1 Answers1

1

Using Team->Reset, it's possible to go back to your local commits:

enter image description here (img from eclipse.wiki)

phil294
  • 10,038
  • 8
  • 65
  • 98