13 Apr
2015
13 Apr
'15
1:40 p.m.
On Mon, Apr 13, 2015 at 8:28 AM, Johannes Löthberg <johannes@kyriasis.com> wrote:
On 13/04, Gordian Edenhofer wrote:
Git has a pre-commit hook which is triggered prior to a commit and many more. Read https://www.kernel.org/pub/software/scm/git/docs/githooks.html for more detail.
I'm aware of how git’s hooks work. You do not seem to though. Git is a DVCS, unlike SVN. You cannot have a pre-commit hook on the server.
You don't sound like you are aware, because you are wrong. http://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks https://www.atlassian.com/git/tutorials/git-hooks/server-side-hooks http://git-scm.com/book/en/v2/Customizing-Git-An-Example-Git-Enforced-Policy -Dan