1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-11 12:46:42 +02:00
git/templates
Junio C Hamano 89e2c5f17b Add commit hook and make the verification customizable.
There are three hooks:

    - 'pre-commit' is given an opportunity to inspect what is
      being committed, before we invoke the EDITOR for the
      commit message;

    - 'commit-msg' is invoked on the commit log message after
      the user prepares it;

    - 'post-commit' is run after a successful commit is made.

The first two can interfere to stop the commit.  The last one is
for after-the-fact notification.

The earlier built-in commit checker is now moved to pre-commit.

Signed-off-by: Junio C Hamano <junkio@cox.net>
2005-08-19 16:23:31 -07:00
..
Makefile
branches--
hooks--commit-msg Add commit hook and make the verification customizable. 2005-08-19 16:23:31 -07:00
hooks--post-commit Add commit hook and make the verification customizable. 2005-08-19 16:23:31 -07:00
hooks--post-update
hooks--pre-commit Add commit hook and make the verification customizable. 2005-08-19 16:23:31 -07:00
hooks--update [PATCH] Fixed/Extended example for update hook 2005-08-15 03:00:21 -07:00
info--exclude
this--description