Skip to content

allow interactive amend commit #222

Closed
@tjhei

Description

@tjhei

Commit learned to amend the last commit using ^a, which is awesome. Problem: it only works if you have staged changes to add (otherwise [c] commit is disabled).
It would be great if amend works similar to git-cola, where checking "amend" puts the changes from the last commit back into "staged" so it allows staging additional hunks, unstaging parts, and then editing the message.

Describe the solution you'd like
Add an "amend" toggle in the status view (maybe when "staged changes" are selected).

I can provide more info how it works in git-cola if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions