JRA_TLL
JRA_TLL

Reputation: 1361

Select an earlier commit message when commiting in EGit in Eclipse IDE?

In EGit inside Eclipse IDE, I am missing the feature of a "commit message history", ie. being able to select one of the most recent commit messages for a new commit, a feature that I quite often use in CVS/SVN.

I see that in Eclipse IDE preferences at Git > Committing there ist a "Maximum number of commit messages in history". This hints at such a feature being present.

I just could not find/google how to access it? What would that option do otherwise? I also find my recent commits stored in the workspace metadata in a file called org.eclipse.egit.ui.prefs.

Please note that this is NOT about viewing the history of commits in the past, and therefore to my knowledge not a duplicate question!

Upvotes: 8

Views: 2287

Answers (2)

Huangism
Huangism

Reputation: 16438

On Mac, this shortcut may not work for you, it is due to that shortcut is already set for toggling keyboard input source. You must disable that then ctrl+space works

Setting/Preference > Keyboard or Command+space, type "keyboard" press enter

Then, keyboard shortcut button > Input source(on the left)

Disable all of them or just disable the ctrl+space one and now you can use the shortcut to see the previous commit messages

Upvotes: 0

Azquelt
Azquelt

Reputation: 1495

With the cursor in the "Commit message" box, press Ctrl+Space to show a list of previous commit messages. Select one and the "Commit message" box will be populated with that message.

Screenshot showing old commit messages

Upvotes: 15

Related Questions