Skip to content

--allow-empty-message commit #4643

Open
@aidancz

Description

@aidancz

Is your feature request related to a problem? Please describe.
cannot commit without commit message:

Image

Describe the solution you'd like
allow empty commit message via

git commit --allow-empty-message -m ""

Describe alternatives you've considered

add custom command like:

https://github.com/jesseduffield/lazygit/wiki/Custom-Commands-Compendium#user-content-add-empty-commit

However, I think it's better to create it by simply pressing Enter in the "commit summary" prompt.

Additional context
similar feature request: #2439

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