| Server IP : 51.178.161.41 / Your IP : 216.73.216.212 Web Server : nginx/1.18.0 System : Linux vms33 5.10.0-36-amd64 #1 SMP Debian 5.10.244-1 (2025-09-29) x86_64 User : web18 ( 5018) PHP Version : 8.3.26 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/clients/client1/web18/web/.git/hooks/ |
Upload File : |
#!/bin/sh
#
# An example hook script to make use of push options.
# The example simply echoes all push options that start with 'echoback='
# and rejects all pushes when the "reject" push option is used.
#
# To enable this hook, rename this file to "pre-receive".
if test -n "$GIT_PUSH_OPTION_COUNT"
then
i=0
while test "$i" -lt "$GIT_PUSH_OPTION_COUNT"
do
eval "value=\$GIT_PUSH_OPTION_$i"
case "$value" in
echoback=*)
echo "echo from the pre-receive-hook: ${value#*=}" >&2
;;
reject)
exit 1
esac
i=$((i + 1))
done
fi