Good morning, everyone, For a project in Java on github, I have to use github functions like "issues". For this purpose all "commits" must contain at least one exit. To prevent my team from making dead-end commits I must therefore check before each commits. GitHooks is the perfect tool for this work. Only, to implement a Windows compatible script.
On a linux environment, I know how to interrupt the commit but I don't know how to get the content of the commit that will be able to check the condition.