lumiera_/admin/git_hooks/post-commit
Christian Thaeter ca88570066 removed 'pushing' from the post commit hook
only signing remains
2008-12-16 23:59:00 +01:00

12 lines
361 B
Bash
Executable file

#!/bin/sh
#
# An example hook script that is called after a successful
# commit is made.
#
# To enable this hook, make this file executable.
# see wiki/index.html#GitNotes%20GitAliases for information
user_email="$(git config user.email)"
git tag -s -f -m "signature generated by $user_email" "$user_email/$(git-symbolic-ref HEAD | cut -d/ -f 3-)_signature"