Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feature: Remember commit message when undoing commit #1872

Answered by extrawurst
Kamilcuk asked this question in Q&A
Discussion options

In git gui I can click "Amend last commit", then the last commit message will show up in the right down corner.

When I click "Undo Commit [U]" in gitui, then try to "Commit [c]", the commit message is empty, and I have to retype it.

Describe the solution you'd like
It would be great if the commit message would be remembered when undoing a commit.

"Undo Commit [U]" in gitui is great, but it does not remember the commit message.

I am so much in love in "Amend Last Commit" in git gui. It is a very easy and flexible way for rebasing commits and splitting them into smaller parts. I would be happy to have this functionality in gitui.

Describe alternatives you've considered
git gui

Additional context
image

Thanks for making gitui, it is just great.

(Additionally, subjectively, it would be great to show a one-line small window on right bottom below "Diff:" window in git ui to show the temporary commit message, just like git gui does. But I do not need it, this would only be "nice to have".)

You must be logged in to vote

You can use the commit msg history for that: default key bindings: ctrl-n

Replies: 2 comments

Comment options

You can use the commit msg history for that: default key bindings: ctrl-n

You must be logged in to vote
0 replies
Answer selected by extrawurst
Comment options

Like a charm! Thank you!

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Converted from issue

This discussion was converted from issue #1871 on September 04, 2023 10:11.

AltStyle によって変換されたページ (->オリジナル) /