Support icon indicating copy to clipboard operation
Support copied to clipboard

[Feature request] Amend checkbox

Open catriuspham opened this issue 5 years ago • 7 comments

I and my colleagues find ourselves use this feature a lot. It is available on many famous Git GUIs such as GitX, gitg, and GitFork. What it does is really simple, when the checkbox is checked, the last commit message appears, and when the user clicks commit, it overrides the last commit. Optional: if the checkbox is checked and then unchecked, the last commit message should be kept in the text box.

Screenshot from 2019-12-09 11-45-09

catriuspham avatar Dec 09 '19 04:12 catriuspham

So if I understand correctly, you want an easy way of amending commits?

GitFiend avatar Dec 09 '19 19:12 GitFiend

So if I understand correctly, you want an easy way of amending commits?

Yes!

catriuspham avatar Dec 10 '19 03:12 catriuspham

+1 upvote. also I want to commit append to previous commit look like 'fix typo...' or somethings :D

tbm98 avatar Jan 30 '20 07:01 tbm98

I would also find this useful, but in the meantime you can also:

  • undo the last commit (..which is only available if the commit was not already pushed)
  • view the "Changes" tab, where the "undone" commit changes are staged and message is populate
  • adjust list of staged files, update commit message, and save

@GitFiend, perhaps a checkbox for "Amend previous commit" could simply perform these steps in the background? to prevent potential issues from someone repeatedly enabling and disabling the option, I would think this needs to show the user what will happen but on apply said changes on save..

alternatively, the "Changes" view itself could have an "Undo last commit" button, which should achieve the same thing and can't be "toggled" back and forth.

ZaLiTHkA avatar Aug 06 '20 11:08 ZaLiTHkA

To me, this is a must-have, and I'll choose another Git client due to the absence of this feature. If GitFiend were open-source, I'd contribute it myself.

Philipp91 avatar Dec 29 '22 15:12 Philipp91

i also need it way too often. +1 from me

gelse avatar Oct 25 '23 07:10 gelse

i also need it way too often. +1 from me

You can now edit the commit message of the last un-pushed commit. It's in the context menu for that commit.

GitFiend avatar Oct 26 '23 07:10 GitFiend