1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-08 17:06:11 +02:00
git/templates
Aaron Schrab 87c86dd14a Add sample pre-push hook script
Create a sample of a script for a pre-push hook.  The main purpose is to
illustrate how a script may parse the information which is supplied to
such a hook.  The script may also be useful to some people as-is for
avoiding to push commits which are marked as a work in progress.

Signed-off-by: Aaron Schrab <aaron@schrab.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2013-01-18 11:13:22 -08:00
..
.gitignore
Makefile
branches--
hooks--applypatch-msg.sample
hooks--commit-msg.sample Modernize git calling conventions in hook templates 2010-03-20 09:04:38 -07:00
hooks--post-update.sample Modernize git calling conventions in hook templates 2010-03-20 09:04:38 -07:00
hooks--pre-applypatch.sample
hooks--pre-commit.sample make the sample pre-commit hook script reject names with newlines, too 2011-10-26 14:31:14 -07:00
hooks--pre-push.sample Add sample pre-push hook script 2013-01-18 11:13:22 -08:00
hooks--pre-rebase.sample Modernize git calling conventions in hook templates 2010-03-20 09:04:38 -07:00
hooks--prepare-commit-msg.sample Modernize git calling conventions in hook templates 2010-03-20 09:04:38 -07:00
hooks--update.sample Modernize git calling conventions in hook templates 2010-03-20 09:04:38 -07:00
info--exclude Modernize git calling conventions in hook templates 2010-03-20 09:04:38 -07:00
this--description