Skip to content
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

Git hook to check for commit message #48

Closed
chriskfwoo opened this issue Feb 19, 2019 · 0 comments
Closed

Git hook to check for commit message #48

chriskfwoo opened this issue Feb 19, 2019 · 0 comments
Assignees
Milestone

Comments

@chriskfwoo
Copy link
Collaborator

chriskfwoo commented Feb 19, 2019

As a developer, I want to safely follow commit conventions. I want to abort my commit if my commit message does not contain an issue number or the Merge keyword.

[Story Points: 1]
[Priority: Low]
[Risk: Low]

Test Input Expected Output Status
1. Incorrect commit message User enters an invalid git commit message The git commit aborts and a print error returns PASS
2. Correct commit message User enters a valid git commit message The git commit does not abort PASS
3. Run setup script User runs the setup script The git hook is setup properly PASS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants