We can edit commit message,
If you happen to recognize that you missed to mention any important info in a commit message, while committing a code change you may edit commit message. As below
Open the staging view or commit dialog again
and specify that the current commit shall “amend” the previous commit in the current branch.
The new commit will then replace the previous one. This feature is often used to correct incorrect commits before they are published to other repositories.
Note: do not amend commits if they have already been published to a shared repository since this may disturb others if they already based their changes on the published change.
above is the excerpts from the
Eclipse documentation
Egit User guide
Cheers.. ๐
You may be also interested in