mirror of
https://github.com/git/git.git
synced 2024-11-06 09:13:01 +01:00
aed97c677c
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> |
||
---|---|---|
.. | ||
.gitignore | ||
branches-- | ||
hooks--applypatch-msg.sample | ||
hooks--commit-msg.sample | ||
hooks--post-commit.sample | ||
hooks--post-receive.sample | ||
hooks--post-update.sample | ||
hooks--pre-applypatch.sample | ||
hooks--pre-commit.sample | ||
hooks--pre-rebase.sample | ||
hooks--prepare-commit-msg.sample | ||
hooks--update.sample | ||
info--exclude | ||
Makefile | ||
this--description |