Skip to content

Allow empty commits #14903

@romainmenke

Description

@romainmenke

The feature request

Allow empty commits

Proposed solution

Do not disable the commit button when there are no changes

Additional context

Empty commits can be useful.

It allows us to start work with an empty commit and immediately open a pull request for it.
In the pull request notes we are able to describe and plan to work that is going to happen on that branch before actually doing any changes.

This is possible from the command line with git commit --allow-empty -m "..." but not with GitHub Desktop

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions