Skip to content

Create Fixup Commits #829

Closed
Closed
@pe

Description

@pe

Is your feature request related to a problem? Please describe.
Creating a fixup commit is complex. It's not possible only with gitui and possibe but still cumbersome with other tools.

Describe the solution you'd like

  • stage the changes
  • instead of commit I hit the fixup shortcut
  • gitui shows the log and I can select the commit I want to fixup
  • gitui creates a fixup commit which I can rebase later

Describe alternatives you've considered

Using gitui:

  • stage the changes
  • switch to "log"
  • select the commit I want to fixup, copy the hash
  • quit gitui
  • git commit --fixup + pasted hash

In other git clients (sourcetree, tig) I created an external command git commit --fixup {SHA}. Then I

  • stage the changes
  • switch to the log
  • select the commit I want to fixup
  • launch my external command.

(I'm open to implement this myself. It would depend on the effort and your willingness to accept it though.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions