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/d3/../09/./../26/../61/../4d/../81/../9d/../26/../26/../61/./../a7/../94/../2c/../19/../84/../8d/../31/../d0/../be/../db/../0d/../2f/../e4/.././e9/../3c/../4e/../46/../c8/../90/../87/../79/../2f/../8e/../9c/../f7/../7e/../7a/../18/../3b/../62/../b8/../info/../6e/../37/../f5/../d1/../d9/../c4/.././2d/../3c/../e5/../cc/../68/../d8/../29/.././29/../f6/../ba/../85/./../39/../7b/../4d/../2c/../86/./../e6/../1f/../22/../d2/../bc/../c0/../cc/../3a/./../22/.././c2/../d4/../e9/.././25/../../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