How to make Visual Studio Code remember previous commit messages?

VSCode 1.51 (Oct. 2020) does have a similar feature: Alt+Arrow Up:


VSCode 1.81, Aug. 2023, still-dreaming-1 mentions in the comments that:

Now, you don’t even need to use the Alt key, just the Arrow Up.
If the cursor is at the start of the box, which it will be initially since it is blank, you can just press the up arrow.


Source Control input box saves commit message history

This addresses a feature request to navigate SCM commit history.

Press kb(scm.viewPreviousCommit) and kb(scm.viewNextCommit) to display the prior and next commits, respectively.
To move directly to the first and last position of the input box, press Alt in conjunction with the corresponding arrow key.

Build off of past commit messages and look back in the history without losing your drafted message.

After typing a message in the SCM input box, then staging and committing changes, pressing the up arrow reveals the message that was just committed.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)