Skip to content

Commit 854c8bd

Browse files
mzzmjdjonico
authored andcommitted
Make the error message more meaningful. (#158)
1 parent b16726a commit 854c8bd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pre-receive-hooks/always_reject.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@
88
# https://help.github.com/enterprise/admin/guides/developer-workflow/managing-pre-receive-hooks-on-the-github-enterprise-appliance/
99
#
1010

11-
echo "error: rejecting all pushes"
11+
echo "You are attempting to push to the ${GITHUB_REPO_NAME} repository which has been made read-only"
12+
echo "Access denied, push blocked. Please contact the repository administrator."
13+
1214
exit 1

0 commit comments

Comments
 (0)