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

Add commit-msg git hook #4

Open
boarpig opened this issue Jan 3, 2014 · 0 comments
Open

Add commit-msg git hook #4

boarpig opened this issue Jan 3, 2014 · 0 comments

Comments

@boarpig
Copy link
Owner

boarpig commented Jan 3, 2014

It would be convenient to have commit-msg hook for git which would work like this.

If commit message matches regex (or something similar)

^([Cc]loses|[Ff]ixes) +#(\d+)

It could check if issue file is added and if it is not, it would close the issue automatically and add the file before commit. Similar to what gitlab does on push.

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

1 participant