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:
parent
c1784b9aa4
commit
77a0ca5e35
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue