git/templates
Pierre Habouzit aed97c677c hook/update: example of how to prevent branch creation
Since git doesn't provide a receive.denyBranchCreation or similar, here is
an example of how to be sure users cannot create branches remotely by
pushing a new reference.

This setup has been proven useful to prevent creation of spurious branches
because of users having their remote.origin.push set to HEAD, when they
use `git push` while being on a local topic branch of theirs instead of
the proper one.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2009-04-17 21:26:11 -07:00
..
.gitignore Add new programs and stamp file to .gitignore. 2005-10-14 17:13:49 -07:00
Makefile Fix permission bits on sources checked out with an overtight umask 2008-09-09 13:32:32 -07:00
branches-- Redo the templates generation and installation. 2005-08-06 13:49:26 -07:00
hooks--applypatch-msg.sample Ship sample hooks with .sample suffix 2008-06-24 19:06:22 -07:00
hooks--commit-msg.sample Ship sample hooks with .sample suffix 2008-06-24 19:06:22 -07:00
hooks--post-commit.sample Ship sample hooks with .sample suffix 2008-06-24 19:06:22 -07:00
hooks--post-receive.sample Ship sample hooks with .sample suffix 2008-06-24 19:06:22 -07:00
hooks--post-update.sample Ship sample hooks with .sample suffix 2008-06-24 19:06:22 -07:00
hooks--pre-applypatch.sample Ship sample hooks with .sample suffix 2008-06-24 19:06:22 -07:00
hooks--pre-commit.sample Update sample pre-commit hook to use "diff --check" 2008-06-26 22:08:25 -07:00
hooks--pre-rebase.sample Ship sample hooks with .sample suffix 2008-06-24 19:06:22 -07:00
hooks--prepare-commit-msg.sample Fix use of "perl -i" on Windows 2008-06-25 17:21:52 -07:00
hooks--update.sample hook/update: example of how to prevent branch creation 2009-04-17 21:26:11 -07:00
info--exclude Redo the templates generation and installation. 2005-08-06 13:49:26 -07:00
this--description Modify description file to say what this file is 2009-03-04 00:56:52 -08:00