git/templates
Adam Spiers e632c464d5 hook: add sample template for push-to-checkout
The template is a more-or-less exact translation to shell of the C
code for the default behaviour for git's push-to-checkout hook defined
in the push_to_deploy() function in builtin/receive-pack.c, to serve
as a convenient starting point for modification.

It also contains relevant text extracted from the git-config(1) and
githooks(5) man pages.

Signed-off-by: Adam Spiers <git@adamspiers.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2020-10-16 08:47:02 -07:00
..
.gitignore
branches--
hooks--applypatch-msg.sample
hooks--commit-msg.sample
hooks--fsmonitor-watchman.sample fsmonitor: add fsmonitor hook scripts for version 2 2020-01-23 15:10:23 -08:00
hooks--post-update.sample
hooks--pre-applypatch.sample
hooks--pre-commit.sample templates: fix deprecated type option --bool 2020-01-21 14:11:20 -08:00
hooks--pre-merge-commit.sample
hooks--pre-push.sample hooks--pre-push.sample: use hash-agnostic zero OID 2020-09-23 09:31:45 -07:00
hooks--pre-rebase.sample
hooks--pre-receive.sample
hooks--prepare-commit-msg.sample
hooks--push-to-checkout.sample hook: add sample template for push-to-checkout 2020-10-16 08:47:02 -07:00
hooks--update.sample hooks--update.sample: use hash-agnostic zero OID 2020-09-23 09:31:45 -07:00
info--exclude
Makefile
this--description