Reputation: 1361
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
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
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.
Upvotes: 15