HowTo restrict commits via redmin_git_hosting ...
... require having a reference to a issue in the project to which the repository belongs.
I'm running redmine 4.2.1 with remine_git_hosting 5.0.0.
I have a couple of projects which have gitolite repositories via redmine_git_hjosting.
I now want to allow only git commits with a valid issue number in the comment and other commits to get rejected.
Any sugestions how this could be handled ?
With best regards
This clearly sounds like a job for "Git Hooks": https://git-scm.com/book/en/v2/Customizing-Git-An-Example-Git-Enforced-Policy