Murmele / Gittyup

Understand your Git history!
https://murmele.github.io/Gittyup
MIT License
1.53k stars 114 forks source link

Streamline use of amend feature #433

Open lonix1 opened 1 year ago

lonix1 commented 1 year ago

Related to #426, which is to find ways to improve the UX of the amend feature.

I use amend a zillion times a day, and to hunt for it in the menu takes time.

Look at some screenshots here to see how gitkraken does it. As you see on the bottom right, there is the "Amend" checkbox. When you click it, it (1) automatically populates the commit message with the message from the previous commit, and (2) changes the button from "Commit" to "Amend Previous Commit".

Something similar could be done in the gittyup "commit panel" (unsure what it's called?), as seen here in the top right; if a "Amend" checkbox is added there, then the text could show the previous message and the "Commit" button could be changed to "Amend":

KaKi87 commented 1 year ago

Hello,

Any news on this ?

This feature would allow me just tick a checkbox while I currently need to manually git commit --amend --no-edit after staging files.

Thanks