Skip to content

To split a commit, Resolve of Interactive Rebase (Edit) needs a Commit button (besides Continue) #767

Closed
@goran-w

Description

@goran-w

I'm trying to use Interactive Rebase to split a commit, using the Edit action on the commit I want to split.

After pressing Start and Resolve, I followed the below instructions (screendump from Git official docs).

  • HEAD was then on the commit I was going to Edit.
  • I made a Reset (Mixed) of HEAD (detached) to the commit before the Edit commit.
  • The changes from the Edit commit then appeared in the Unstaged area.
  • I staged the desired files, and then I needed to Commit the change BEFORE doing a Continue on the Rebase.
  • However, there was no Commit button at this point, so I had to do the Commit from command line instead.

For this process to work entirely in SourceGit, we would need any one of these :

  • Two separate buttons, "Commit" and "Continue".
  • A single DropDownButton that can be switched between "Continue" (default) and "Commit".
  • A tooltip for the "Continue" button along the lines of "Hold Ctrl to Commit instead".

image

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions