jesseduffield / jesseduffield/lazygit

How to set lazygit to pass message when merging branches

Open
#3,996 0 comments 0 reactions 0 assignees View on GitHub
discussion
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

Hi, first time lazygit user here. I do apologize if this isn't the right label for my question as i don't know whether this is a bug or me thing...

What am I trying to achieve ... `git merge develop -m` so that I can pass a message so that I have meaningful merge.
This is what I have in the `config.yml` for lazy
```yaml
git:
merging:
manualCommit: false
args: "-m"
```

Now when I press `M` `m - regular merge` to merge develop into some branch nothing happens.

The lazy log, rather the command log section shows `git merge --no-edit -m develop` ....
I even tried to set `manualCommit: true` and I get the same command logged.

How can I set lazygit to do the `git merge develop -m` ? and to open the commit or message popup...

Thanks...

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.