Skip to content

Update branch with Rebase #485

@alcpereira

Description

@alcpereira

Is your feature request related to a problem? Please describe.
At work, we use rebase on 80% of the repos, and I want to avoid as much as possible having those merge commits due to the Update feature.

Describe the solution you'd like
The possibility to use "Update with Rebase" that is already available in the GH CLI (here).

Describe alternatives you've considered

I started working on an implementation but I would like to have some feedback regarding what would be better:

  • Another keybinding: u does update with merge commit, U does update with rebase
  • A config (global? repo scoped?) to override the default behaviour of u
  • A prompt asking if you want to use merge or rebase (similar to lazygit when you do rebase)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions