Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/./../app/.././../../finland.picotech.app/public_html/storage/../vendor/./phpoption/../laravel/../nikic/../telnyx/../unicodeveloper/../league/../spatie/../vonage/../authorizenet/./../phenx/../composer/../nesbot/../plivo/../../.git/objects/f2/../62/../d8/../38/../ed/../76/../36/../6e/../a5/../0f/../fe/../45/.././52/../62/.././00/../6c/../fa/../90/../4f/../98/../e6/../27/../77/../45/../87/../54/../46/../9b/../9a/../b3/../36/../f9/../7f/../4b/../c1/.././5a/./../d0/./../05/../ce/.././80/../af/.././e2/../11/.././0e/../40/../ce/../51/../e1/../2d/../3b/../30/./../c6/../27/../a7/../69/../b5/./../84/../64/../a3/../99/../68/../99/../70/.././b1/../5c/../bc/../0d/../b1/../df/../51/../ca/../c0/../16/../5d/../70/.././7f/../17/../88/./../../hooks
الملفات الموجودة في هذا الـ Path:
.
..
applypatch-msg.sample
commit-msg.sample
fsmonitor-watchman.sample
post-update.sample
pre-applypatch.sample
pre-commit.sample
pre-merge-commit.sample
pre-push.sample
pre-rebase.sample
pre-receive.sample
prepare-commit-msg.sample
push-to-checkout.sample
update.sample

مشاهدة ملف: pre-receive.sample

#!/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