Skip to content

Conversation

@artem-y
Copy link
Owner

@artem-y artem-y commented Apr 18, 2024

In this PR:

  • added a check to prevent commits where message is an empty string
  • added a check to prevent commits if nothing is staged

closes #2

@artem-y artem-y added the enhancement New feature or request label Apr 18, 2024
@artem-y artem-y self-assigned this Apr 18, 2024
@artem-y artem-y linked an issue Apr 18, 2024 that may be closed by this pull request
@artem-y artem-y merged commit 8a7d993 into main Apr 18, 2024
@artem-y artem-y deleted the feat/2-prevent-commit-when-no-changes-are-staged branch April 18, 2024 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prevent committing when no changes are staged

2 participants