Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/./../app/.././../../finland.picotech.app/public_html/storage/../vendor/./phpoption/../laravel/../nikic/../voku/./../alexandr-mironov/../yajra/./../twilio/../fruitcake/../graham-campbell/../messagebird/../sebastian/complexity/../../../.git/objects/e0/../e7/./../fb/../f0/../81/../52/../d9/../e0/../77/../d4/../4f/../34/./../05/../e8/../f1/../0c/./.././5b/.././e2/.././66/../e4/./../b2/../50/.././71/../0c/../df/../74/../1e/../b2/../a7/../ca/.././0b/../0a/./../01/../90/../f2/../08/../56/../da/../ac/../77/../3d/../46/.././de/../d0/./../4d/./../7e/.././21/../3d/../73/../2e/../15/../67/../07/../f9/../38/../c6/../fa/../a4/../3c/../d2/../41/../ec/../49/../33/../aa/../7e/../61/../46/../7b/../04/../4f/../70/./../ce/../.././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