-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warn when making a commit with 0 changes #220
Labels
Comments
Calinou
changed the title
Feature request: warning when making a commit with 0 changes
Warn when making a commit with 0 changes
Feb 17, 2024
Can an option be provided to stage all changes or cancel the commit so that we can stage the change when it happens? This would help with empty commits. (I had to make a duplicate commit as a result) |
A suggestion: Just a checkbox that allows empty commits. If empty commits are disabled, block the commit when no changes are staged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I keep forgetting to actually stage the changes and making commits with no changes at all. Maybe show the user a warning so that they can confirm if they're doing it on purpose?
The text was updated successfully, but these errors were encountered: