vscode-gitlens icon indicating copy to clipboard operation
vscode-gitlens copied to clipboard

Change commit message/amend commit

Open lurk26 opened this issue 4 years ago • 8 comments

It would really useful if GitLens allowed us to edit/amend commit messages in VSCode. The built-in VSCode git solution doesn't provide this feature.

lurk26 avatar Apr 17 '20 20:04 lurk26

Yes please, this would save a lot of time. :)

pilniczek avatar Oct 30 '20 10:10 pilniczek

Please add this

blachawk avatar Feb 10 '21 15:02 blachawk

Ammending the most recent commit is supported by the built-in git extension.

eamodio avatar Feb 10 '21 17:02 eamodio

But built-in git extension doesn't allow to change commit message, only commit files.

Ae-Mc avatar Jun 30 '21 13:06 Ae-Mc

you can commit then rebase squash

LOL

helmiatincrypto avatar Jul 01 '21 05:07 helmiatincrypto

The point was to do it in UI we know we can use shell thanks

riderx avatar Jul 13 '22 13:07 riderx

Built-in git seems to be doing the job. Command Palette (ctrl + shift +P) -> "Git: Commit (Amend)" -> edit commit message -> press tick (V) in the upper right corner

kokushkin avatar Jan 09 '24 12:01 kokushkin

Built-in git seems to be doing the job. Command Palette (ctrl + shift +P) -> "Git: Commit (Amend)" -> edit commit message -> press tick (V) in the upper right corner

That only works for the latest commit. I agree we would like a UI method of changing an older commit message.

PeterConijn avatar Feb 01 '24 07:02 PeterConijn