my post-commit script which gpg signs commits and then pushes them to the public server

use 'ln -s ../../admin/git_hooks/post-commit .git/hooks/post-commit' to use it
This commit is contained in:
Christian Thaeter 2007-06-18 13:09:37 +02:00
parent c1784b9aa4
commit 77a0ca5e35

View file

@ -5,4 +5,8 @@
#
# To enable this hook, make this file executable.
: Nothing
# see wiki/index.html#GitNotes%20GitAliases for information
git sign "$(git-symbolic-ref HEAD | cut -d/ -f 3-)_signature"
git publish