Closed iloveitaly closed 11 months ago
@bigH I'm happy to add this in if it's something you are cool with
@iloveitaly I like this suggestion. I definitely have some use for it. Here's how I'd implement it, though I'm open to different approaches:
git fuzzy log
should do just fine), default selection is naturally HEAD
since it'll be the first item in a git logI was thinking we could keep it simple and use something like:
commit --amend --reuse-message=HEAD
and then return right back to the selection screen.
i.e. the use case is you want to amend the staged files to the previous comment.
wdyt?
Go ahead with your proposed design!
On Thu, Jul 13, 2023 at 8:59 AM Michael Bianco @.***> wrote:
I was thinking we could keep it simple and use something like:
commit --amend --reuse-message=HEAD
and then return right back to the selection screen.
i.e. the use case is you want to amend the staged files to the previous comment.
wdyt?
— Reply to this email directly, view it on GitHub https://github.com/bigH/git-fuzzy/issues/51#issuecomment-1634503208, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASCAK3ZMW2TPHA5HCIC52LXQALODANCNFSM6AAAAAA2B2N6JA . You are receiving this because you were mentioned.Message ID: @.***>
This is done!
Would be great in
fuzzy status
to have a short cut togit amend
(I likecommit --amend --reuse-message=HEAD
) the current selection.