Skip to content

Allow users using GPG to reword commits #4293

@ghost-in-the-zsh

Description

@ghost-in-the-zsh

Is your feature request related to a problem? Please describe.

I recently changed my repo's configuration to sign commits using GPG, but whenever I try to reword a commit, I get the following error message: Feature not available for users using GPG

Describe the solution you'd like

A solution that allows users to reword/rebase/etc while using GPG without running into this error. (See additional context.)

Describe alternatives you've considered

My current workaround is to exit lazygit and do things directly in the CLI. For example:

  1. git stash
  2. git rebase -i <sha1>^
  3. Change pick to reword on the line with the correct <sha1>
  4. Make changes in editor
  5. git stash pop

Additional context

A screenshot of the error message from Lazygit is at the bottom. Lazygit version info:

$ lazygit --version
commit=91cb1ff29a01fdf643ccc38b97fd816b2a097bec, build date=2025-01-11T04:06:07Z, build source=binaryRelease, version=0.45.0, os=linux, arch=amd64, git version=2.45.2

There are use-cases that seem to work fine (e.g. reordering commits), so there may be other use-cases capable of producing this error that I just haven't come across.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions