Context:
I'm learning how to use git with Eclipse and am using it for a small project with only a local repository.
Problem:
- I just noticed that a commit I made earlier has an incorrect description attached to it.
- There's nothing wrong with the files I committed or anything but for clarity's sake (if I want to revert or whatever) I'd like to change the description which is misleading.
- I can't just amend previous commit as I have made more commits since then.
Floundering attempts to solve problem:
I variously tried creating new branches, amending commits and then rebasing, but end up with a bunch of scary looking merge conflicts and a spaghetti looking history tree. I could just copy and paste my newer commits into txt files, revert back to the commit with the wrong info and start again from there, but I figure the whole point of using git is to avoid doing stuff like that.
Question:
Is there a simple way to just change an older commit's description text?
If not what are the steps for the complicated way in egit?!