jesseduffield / jesseduffield/lazygit

commits produced by revert action do not factor in git.commit.signOff configuration

Open
#4,911 2 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

### Describe the bug
title is enough

### To Reproduce
Steps to reproduce the behavior:

0. Configure lazygit to `--signoff` `commit`'s
`~/.config/lazygit/config.yml`
```
git
commit:
signOff: true
```

1. Go to:
Any repository where you may author a commit
2. Click on
On the commits panel, select one & press whichever key you have configured to trigger the revert action (default is `t`)
4. Scroll down to '....'
Select the commit produced as a revert action
6. See error
The commit body does not include a signoff message

### Expected behavior
The commit body to include a signoff message

### Version info:

commit=v0.55.1, build date=2025-09-17T18:57:13Z, build source=binaryRelease, version=0.55.1, os=linux, arch=amd64, git version=2.51.0

### Additional context
Add any other context about the problem here.

> [!NOTE]
> Please try updating to the latest version or [manually building](https://github.com/jesseduffield/lazygit/#manual) the latest `master` to see if the issue still occurs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.